summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorKrishna Kumar <krkumar2@in.ibm.com>2011-04-14 08:07:04 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-18 08:27:16 +0200
commit0553c891fabd287726b41076cfd03fe7e5ab596f (patch)
tree6b8b7074ff457e1533e8c397e09c03cd86ddc76e /net/Makefile
parentbnx2x: Fix port identification problem (diff)
downloadlinux-0553c891fabd287726b41076cfd03fe7e5ab596f.tar.xz
linux-0553c891fabd287726b41076cfd03fe7e5ab596f.zip
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 <krkumar2@in.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions