Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information