1. 01 May, 2017 1 commit
    • Florian Westphal's avatar
      netfilter: batch synchronize_net calls during hook unregister · 933bd83e
      Florian Westphal authored
      synchronize_net is expensive and slows down netns cleanup a lot.
      
      We have two APIs to unregister a hook:
      nf_unregister_net_hook (which calls synchronize_net())
      and
      nf_unregister_net_hooks (calls nf_unregister_net_hook in a loop)
      
      Make nf_unregister_net_hook a wapper around new helper
      __nf_unregister_net_hook, which unlinks the hook but does not free it.
      
      Then, we can call that helper in nf_unregister_net_hooks and then
      call synchronize_net() only once.
      
      Andrey Konovalov reports this change improves syzkaller fuzzing speed at
      least twice.
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      933bd83e
  2. 26 Apr, 2017 11 commits
  3. 19 Apr, 2017 11 commits
  4. 15 Apr, 2017 6 commits
  5. 13 Apr, 2017 3 commits
  6. 08 Apr, 2017 2 commits
  7. 07 Apr, 2017 5 commits
  8. 06 Apr, 2017 1 commit