netfilter: nf_tables: simplify nf_tables_*_notify
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 May 2014 15:12:40 +0000 (17:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 May 2014 10:06:12 +0000 (12:06 +0200)
Now that all these function are called from the commit path, we can
pass the context structure to reduce the amount of parameters in all
of the nf_tables_*_notify functions. This patch also removes unneeded
branches to check for skb, nlh and net that should be always set in
the context structure.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found