projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20651ce
)
netfilter: nf_tables: fix a typo in nf_tables_getflowtable()
author
Wei Yongjun
<weiyongjun1@huawei.com>
Wed, 10 Jan 2018 07:04:54 +0000
(07:04 +0000)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Wed, 10 Jan 2018 14:32:13 +0000
(15:32 +0100)
Fix a typo, we should check 'flowtable' instead of 'table'.
Fixes:
3b49e2e94e6e
("netfilter: nf_tables: add flow table netlink frontend")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_tables_api.c
b/net/netfilter/nf_tables_api.c
index
0b814cb
..
b541e50
100644
(file)
--- a/
net/netfilter/nf_tables_api.c
+++ b/
net/netfilter/nf_tables_api.c
@@
-5225,7
+5225,7
@@
static int nf_tables_getflowtable(struct net *net, struct sock *nlsk,
flowtable = nf_tables_flowtable_lookup(table, nla[NFTA_FLOWTABLE_NAME],
genmask);
- if (IS_ERR(table))
+ if (IS_ERR(
flow
table))
return PTR_ERR(flowtable);
skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL);