]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: honor NLM_F_CREATE and NLM_F_EXCL in event notification
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 26 Sep 2021 07:59:35 +0000 (09:59 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 2 Oct 2021 10:00:17 +0000 (12:00 +0200)
commitccd68cf387811f31cedefd188d04084ec50a058f
tree403bbee246f1912e021082e8df3a730287db83e5
parent98e34ddb665e79f0434bd5a113056f3d285c2363
netfilter: nf_tables: honor NLM_F_CREATE and NLM_F_EXCL in event notification

Include the NLM_F_CREATE and NLM_F_EXCL flags in netlink event
notifications, otherwise userspace cannot distiguish between create and
add commands.

Fixes: 14793e629b67 ("netfilter: add nftables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_quota.c