From: Herbert Xu Date: Fri, 30 Oct 2009 05:51:48 +0000 (+0000) Subject: gre: Fix dev_addr clobbering for gretap X-Git-Tag: v2.6.32-rc6~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9526b352061ee0fd2a1580a2e3a5af960dabc4;p=pandora-kernel.git 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 Acked-by: Stephen Hemminger Tested-by: Nathan Neulinger Signed-off-by: David S. Miller --- Reading git-diff-tree failed