netfilter: nf_tables: add and use nft_sk helper
authorFlorian Westphal <fw@strlen.de>
Fri, 28 May 2021 10:30:05 +0000 (12:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 28 May 2021 23:04:53 +0000 (01:04 +0200)
commit85554eb981e5a8b0b8947611193aef1737081ef2
tree104fff4d5bf56e5e0982c889a545c16e8289fb92
parent6802db48fc27b8d7f601e96a85771f2205702941
netfilter: nf_tables: add and use nft_sk helper

This allows to change storage placement later on without changing readers.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/ipv4/netfilter/nft_reject_ipv4.c
net/ipv6/netfilter/nft_reject_ipv6.c
net/netfilter/nft_reject_inet.c