]> git.karo-electronics.de Git - linux-beck.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)
commit46448d0093ba18a212e314fd9ea029e740baa476
tree3c945149247b7704c64fdc1bd910c50ab57ae65a
parent686c9b50809dc80cba7c2e9f809471ab40bae735
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