]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitcfdfab314647b1755afedc33ab66f3f247e161ae
treee844207925d20a832f575793ca9d6e1d4ff546f8
parentb81b7be6ae830a507d15cf4fc626be02cc9ab79b
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