1. 04 11月, 2009 1 次提交
  2. 21 10月, 2009 1 次提交
  3. 07 10月, 2009 1 次提交
  4. 01 10月, 2009 1 次提交
  5. 24 9月, 2009 1 次提交
  6. 22 9月, 2009 1 次提交
  7. 02 9月, 2009 1 次提交
  8. 06 7月, 2009 1 次提交
  9. 27 6月, 2009 1 次提交
  10. 18 6月, 2009 1 次提交
  11. 03 6月, 2009 1 次提交
  12. 29 5月, 2009 1 次提交
  13. 21 5月, 2009 1 次提交
  14. 18 5月, 2009 1 次提交
  15. 10 5月, 2009 1 次提交
  16. 22 3月, 2009 1 次提交
  17. 10 3月, 2009 1 次提交
  18. 27 2月, 2009 3 次提交
  19. 25 2月, 2009 1 次提交
    • P
      netlink: change nlmsg_notify() return value logic · 1ce85fe4
      Pablo Neira Ayuso 提交于
      This patch changes the return value of nlmsg_notify() as follows:
      
      If NETLINK_BROADCAST_ERROR is set by any of the listeners and
      an error in the delivery happened, return the broadcast error;
      else if there are no listeners apart from the socket that
      requested a change with the echo flag, return the result of the
      unicast notification. Thus, with this patch, the unicast
      notification is handled in the same way of a broadcast listener
      that has set the NETLINK_BROADCAST_ERROR socket flag.
      
      This patch is useful in case that the caller of nlmsg_notify()
      wants to know the result of the delivery of a netlink notification
      (including the broadcast delivery) and take any action in case
      that the delivery failed. For example, ctnetlink can drop packets
      if the event delivery failed to provide reliable logging and
      state-synchronization at the cost of dropping packets.
      
      This patch also modifies the rtnetlink code to ignore the return
      value of rtnl_notify() in all callers. The function rtnl_notify()
      (before this patch) returned the error of the unicast notification
      which makes rtnl_set_sk_err() reports errors to all listeners. This
      is not of any help since the origin of the change (the socket that
      requested the echoing) notices the ENOBUFS error if the notification
      fails and should resync itself.
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      Acked-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1ce85fe4
  20. 01 2月, 2009 1 次提交
  21. 11 12月, 2008 1 次提交
  22. 27 11月, 2008 1 次提交
  23. 26 11月, 2008 1 次提交
  24. 22 11月, 2008 1 次提交
  25. 12 11月, 2008 1 次提交
  26. 04 11月, 2008 1 次提交
    • A
      net: '&' redux · 6d9f239a
      Alexey Dobriyan 提交于
      I want to compile out proc_* and sysctl_* handlers totally and
      stub them to NULL depending on config options, however usage of &
      will prevent this, since taking adress of NULL pointer will break
      compilation.
      
      So, drop & in front of every ->proc_handler and every ->strategy
      handler, it was never needed in fact.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6d9f239a
  27. 17 10月, 2008 2 次提交
  28. 16 10月, 2008 1 次提交
  29. 20 7月, 2008 1 次提交
  30. 17 7月, 2008 1 次提交
  31. 06 7月, 2008 1 次提交
  32. 17 6月, 2008 1 次提交
  33. 05 5月, 2008 1 次提交
  34. 26 3月, 2008 2 次提交
  35. 01 3月, 2008 1 次提交
  36. 08 2月, 2008 1 次提交