aboutsummaryrefslogtreecommitdiff
path: root/net/rose
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-10-30 05:51:48 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-30 12:28:07 -0700
commit2e9526b352061ee0fd2a1580a2e3a5af960dabc4 (patch)
tree589ae8d9832a929acc68f58cdb8f8b84fb35978e /net/rose
parent33cb7d33a1c36e07839d08a4d1a33bf6a0f70bba (diff)
gre: Fix dev_addr clobbering for gretap
Nathan Neulinger noticed that gretap devices get their MAC address from the local IP address, which results in invalid MAC addresses half of the time. This is because gretap is still using the tunnel netdev ops rather than the correct tap netdev ops struct. This patch also fixes changelink to not clobber the MAC address for the gretap case. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Stephen Hemminger <shemminger@vyatta.com> Tested-by: Nathan Neulinger <nneul@mst.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions