commit | 35151d840c60ce82692656c73bf6e5b922247ad2 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Mon May 05 17:12:40 2014 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon May 19 12:06:12 2014 +0200 |
tree | db3566f118af3f86ade551428450f2940b415a90 | |
parent | 60319eb1ca351aa36e29d58d2e60ba9a9836265a [diff] |
netfilter: nf_tables: simplify nf_tables_*_notify 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>