commit | 93e66024b0249cec81e91328c55a754efd3192e0 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Wed Sep 12 15:19:07 2018 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Sep 20 17:54:37 2018 +0200 |
tree | fed30c9486ec9b01fa7f8f3d6ce08eeb6eadb484 | |
parent | c8204cab9cb503bede29938785b3cdf26a275fa2 [diff] |
netfilter: conntrack: pass nf_hook_state to packet and error handlers nf_hook_state contains all the hook meta-information: netns, protocol family, hook location, and so on. Instead of only passing selected information, pass a pointer to entire structure. This will allow to merge the error and the packet handlers and remove the ->new() function in followup patches. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>