1. 15 6月, 2007 1 次提交
    • H
      [IPV6] addrconf: Fix IPv6 on tuntap tunnels · 74235a25
      Herbert Xu 提交于
      The recent patch that added ipv6_hwtype is broken on tuntap tunnels.
      Indeed, it's broken on any device that does not pass the ipv6_hwtype
      test.
      
      The reason is that the original test only applies to autoconfiguration,
      not IPv6 support.  IPv6 support is allowed on any device.  In fact,
      even with the ipv6_hwtype patch applied you can still add IPv6 addresses
      to any interface that doesn't pass thw ipv6_hwtype test provided that
      they have a sufficiently large MTU.  This is a serious problem because
      come deregistration time these devices won't be cleaned up properly.
      
      I've gone back and looked at the rationale for the patch.  It appears
      that the real problem is that we were creating IPv6 devices even if the
      MTU was too small.  So here's a patch which fixes that and reverts the
      ipv6_hwtype stuff.
      
      Thanks to Kanru Chen for reporting this issue.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      74235a25
  2. 08 6月, 2007 1 次提交
  3. 25 5月, 2007 1 次提交
  4. 11 5月, 2007 1 次提交
  5. 04 5月, 2007 1 次提交
  6. 29 4月, 2007 1 次提交
  7. 26 4月, 2007 8 次提交
  8. 25 4月, 2007 1 次提交
  9. 28 3月, 2007 1 次提交
  10. 23 3月, 2007 1 次提交
  11. 08 3月, 2007 1 次提交
  12. 01 3月, 2007 1 次提交
  13. 27 2月, 2007 3 次提交
  14. 15 2月, 2007 3 次提交
  15. 13 2月, 2007 1 次提交
  16. 11 2月, 2007 1 次提交
  17. 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
  18. 31 1月, 2007 1 次提交
  19. 24 1月, 2007 1 次提交
  20. 05 1月, 2007 1 次提交
  21. 11 12月, 2006 1 次提交
  22. 03 12月, 2006 6 次提交
  23. 12 10月, 2006 1 次提交
  24. 29 9月, 2006 1 次提交