1. 01 5月, 2017 1 次提交
    • F
      netfilter: batch synchronize_net calls during hook unregister · 933bd83e
      Florian Westphal 提交于
      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: NFlorian Westphal <fw@strlen.de>
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      933bd83e
  2. 26 4月, 2017 11 次提交
  3. 19 4月, 2017 11 次提交
  4. 15 4月, 2017 6 次提交
  5. 14 4月, 2017 3 次提交
  6. 09 4月, 2017 2 次提交
  7. 08 4月, 2017 1 次提交
  8. 07 4月, 2017 5 次提交