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)
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

Simple merge
Simple merge
Simple merge
Simple merge