aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2009-10-30 05:51:48 +0000
committerDavid S. Miller <[email protected]>2009-10-30 12:28:07 -0700
commit2e9526b352061ee0fd2a1580a2e3a5af960dabc4 (patch)
tree589ae8d9832a929acc68f58cdb8f8b84fb35978e /lib/string_helpers.c
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 <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Tested-by: Nathan Neulinger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions