diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-10-30 05:51:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-30 12:28:07 -0700 |
commit | 2e9526b352061ee0fd2a1580a2e3a5af960dabc4 (patch) | |
tree | 589ae8d9832a929acc68f58cdb8f8b84fb35978e /net/x25 | |
parent | 33cb7d33a1c36e07839d08a4d1a33bf6a0f70bba (diff) | |
download | op-kernel-dev-2e9526b352061ee0fd2a1580a2e3a5af960dabc4.zip op-kernel-dev-2e9526b352061ee0fd2a1580a2e3a5af960dabc4.tar.gz |
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/x25')
0 files changed, 0 insertions, 0 deletions