]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: Pass struct net in nft_pktinfo
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 18 Sep 2015 19:33:00 +0000 (14:33 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Sep 2015 19:58:38 +0000 (21:58 +0200)
commitdc2236cae3bac5d24bf33d702ba7c88b7776df0c
tree3c945149247b7704c64fdc1bd910c50ab57ae65a
parentb4b2875e19b95addf0fc02a94dbb9a8d33c412fc
netfilter: nf_tables: Pass struct net in nft_pktinfo

nft_pktinfo is passed on the stack so this does not bloat any in core
data structures.

By centrally computing this information this makes maintence of the code
simpler, and understading of the code easier.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h