projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nf_tables: add single table list for all families
[platform/kernel/linux-rpi.git]
/
net
/
netfilter
/
nft_nat.c
diff --git
a/net/netfilter/nft_nat.c
b/net/netfilter/nft_nat.c
index
ed548d0
..
1f36954
100644
(file)
--- a/
net/netfilter/nft_nat.c
+++ b/
net/netfilter/nft_nat.c
@@
-142,7
+142,7
@@
static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
return -EINVAL;
family = ntohl(nla_get_be32(tb[NFTA_NAT_FAMILY]));
- if (family != ctx->
afi->
family)
+ if (family != ctx->family)
return -EOPNOTSUPP;
switch (family) {