1. 28 Feb, 2010 4 commits
  2. 05 Feb, 2010 1 commit
  3. 01 Sep, 2009 1 commit
  4. 13 Aug, 2009 1 commit
  5. 12 Jun, 2009 1 commit
  6. 08 Sep, 2008 2 commits
  7. 30 Jul, 2008 1 commit
    • Simon Wunderlich's avatar
      bridge: send correct MTU value in PMTU (revised) · 4adf0af6
      Simon Wunderlich authored
      
      
      When bridging interfaces with different MTUs, the bridge correctly chooses
      the minimum of the MTUs of the physical devices as the bridges MTU.  But
      when a frame is passed which fits through the incoming, but not through
      the outgoing interface, a "Fragmentation Needed" packet is generated.
      
      However, the propagated MTU is hardcoded to 1500, which is wrong in this
      situation.  The sender will repeat the packet again with the same frame
      size, and the same problem will occur again.
      
      Instead of sending 1500, the (correct) MTU value of the bridge is now sent
      via PMTU.  To achieve this, the corresponding rtable structure is stored
      in its net_bridge structure.
      
      Modified to get rid of fake_net_device as well.
      
      Signed-off-by: default avatarSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
      Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4adf0af6
  8. 06 Jul, 2008 1 commit
  9. 17 Jun, 2008 1 commit
  10. 12 Jun, 2008 1 commit
  11. 21 May, 2008 1 commit
  12. 25 Jan, 2008 1 commit
  13. 10 Oct, 2007 1 commit
    • Eric W. Biederman's avatar
      [NET]: Make the device list and device lookups per namespace. · 881d966b
      Eric W. Biederman authored
      
      
      This patch makes most of the generic device layer network
      namespace safe.  This patch makes dev_base_head a
      network namespace variable, and then it picks up
      a few associated variables.  The functions:
      dev_getbyhwaddr
      dev_getfirsthwbytype
      dev_get_by_flags
      dev_get_by_name
      __dev_get_by_name
      dev_get_by_index
      __dev_get_by_index
      dev_ioctl
      dev_ethtool
      dev_load
      wireless_process_ioctl
      
      were modified to take a network namespace argument, and
      deal with it.
      
      vlan_ioctl_set and brioctl_set were modified so their
      hooks will receive a network namespace argument.
      
      So basically anthing in the core of the network stack that was
      affected to by the change of dev_base was modified to handle
      multiple network namespaces.  The rest of the network stack was
      simply modified to explicitly use &init_net the initial network
      namespace.  This can be fixed when those components of the network
      stack are modified to handle multiple network namespaces.
      
      For now the ifindex generator is left global.
      
      Fundametally ifindex numbers are per namespace, or else
      we will have corner case problems with migration when
      we get that far.
      
      At the same time there are assumptions in the network stack
      that the ifindex of a network device won't change.  Making
      the ifindex number global seems a good compromise until
      the network stack can cope with ifindex changes when
      you change namespaces, and the like.
      
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      881d966b
  14. 16 Sep, 2007 1 commit
  15. 26 Apr, 2007 5 commits
  16. 26 Feb, 2007 2 commits
  17. 11 Feb, 2007 1 commit
  18. 22 Nov, 2006 1 commit
  19. 16 Oct, 2006 1 commit
  20. 18 Jun, 2006 2 commits
  21. 21 Mar, 2006 2 commits
  22. 10 Feb, 2006 2 commits
  23. 01 Feb, 2006 1 commit
  24. 03 Jan, 2006 4 commits
  25. 29 May, 2005 1 commit