Skip to content
Snippets Groups Projects
  1. Apr 21, 2011
  2. Apr 20, 2011
  3. Apr 19, 2011
  4. Apr 18, 2011
    • Krishna Kumar's avatar
      ip6_pol_route panic: Do not allow VLAN on loopback · 0553c891
      Krishna Kumar authored
      
      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: default avatarKrishna Kumar <krkumar2@in.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0553c891
  5. Apr 17, 2011
  6. Apr 15, 2011
  7. Apr 14, 2011
  8. Apr 13, 2011
  9. Apr 12, 2011
Loading