1. 11 10月, 2007 1 次提交
    • E
      [NET]: Make device event notification network namespace safe · e9dc8653
      Eric W. Biederman 提交于
      Every user of the network device notifiers is either a protocol
      stack or a pseudo device.  If a protocol stack that does not have
      support for multiple network namespaces receives an event for a
      device that is not in the initial network namespace it quite possibly
      can get confused and do the wrong thing.
      
      To avoid problems until all of the protocol stacks are converted
      this patch modifies all netdev event handlers to ignore events on
      devices that are not in the initial network namespace.
      
      As the rest of the code is made network namespace aware these
      checks can be removed.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e9dc8653
  2. 11 9月, 2007 1 次提交
  3. 31 7月, 2007 1 次提交
  4. 09 6月, 2007 1 次提交
  5. 08 6月, 2007 5 次提交
  6. 04 5月, 2007 1 次提交
  7. 26 4月, 2007 3 次提交
  8. 10 3月, 2007 1 次提交
  9. 27 2月, 2007 1 次提交
  10. 15 2月, 2007 3 次提交
  11. 11 2月, 2007 1 次提交
  12. 09 2月, 2007 1 次提交
    • P
      [NETLINK]: Don't BUG on undersized allocations · 26932566
      Patrick McHardy 提交于
      Currently netlink users BUG when the allocated skb for an event
      notification is undersized. While this is certainly a kernel bug,
      its not critical and crashing the kernel is too drastic, especially
      when considering that these errors have appeared multiple times in
      the past and it BUGs even if no listeners are present.
      
      This patch replaces BUG by WARN_ON and changes the notification
      functions to inform potential listeners of undersized allocations
      using a unique error code (EMSGSIZE).
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      26932566
  13. 10 1月, 2007 1 次提交
  14. 05 1月, 2007 1 次提交
  15. 11 12月, 2006 1 次提交
  16. 03 12月, 2006 3 次提交
  17. 29 9月, 2006 5 次提交
  18. 23 9月, 2006 7 次提交
  19. 22 7月, 2006 1 次提交
  20. 01 7月, 2006 1 次提交