]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: Create and use nf_hook_state.
authorDavid S. Miller <davem@davemloft.net>
Fri, 3 Apr 2015 20:23:58 +0000 (16:23 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Apr 2015 16:17:40 +0000 (12:17 -0400)
commitdb822d3055081756b90323fed63101081379ff63
treee844207925d20a832f575793ca9d6e1d4ff546f8
parent9ed07b1c01ead62371320cd60824e21a4f318553
netfilter: Create and use nf_hook_state.

Instead of passing a large number of arguments down into the nf_hook()
entry points, create a structure which carries this state down through
the hook processing layers.

This makes is so that if we want to change the types or signatures of
any of these pieces of state, there are less places that need to be
changed.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
net/netfilter/core.c
net/netfilter/nf_internals.h
net/netfilter/nf_queue.c