diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-10-30 06:51:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-30 20:28:07 +0100 |
commit | 2e9526b352061ee0fd2a1580a2e3a5af960dabc4 (patch) | |
tree | 589ae8d9832a929acc68f58cdb8f8b84fb35978e /drivers/net/wireless/libertas | |
parent | sky2: set carrier off in probe (diff) | |
download | linux-2e9526b352061ee0fd2a1580a2e3a5af960dabc4.tar.xz linux-2e9526b352061ee0fd2a1580a2e3a5af960dabc4.zip |
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 'drivers/net/wireless/libertas')
0 files changed, 0 insertions, 0 deletions