From: Krishna Kumar Date: Thu, 14 Apr 2011 06:07:04 +0000 (+0000) Subject: ip6_pol_route panic: Do not allow VLAN on loopback X-Git-Tag: v2.6.39-rc5~40^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0553c891fabd287726b41076cfd03fe7e5ab596f;p=pandora-kernel.git ip6_pol_route panic: Do not allow VLAN on loopback Several tests in the ipv6 routing code check IFF_LOOPBACK, and allowing stacking such as VLAN'ing on top of loopback results in a netdevice which reports IFF_LOOPBACK but really isn't the loopback device. Instead of spamming the ipv6 routing code with even more special tests, simply disallow VLAN over loopback. The result of this patch is: # modprobe 8021q # vconfig add lo 43 ERROR: trying to add VLAN #43 to IF -:lo:- error: Operation not supported Signed-off-by: Krishna Kumar Signed-off-by: David S. Miller --- Reading git-diff-tree failed