]> git.itanic.dy.fi Git - linux-stable/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)
commit6fb721cf781808ee2ca5e737fb0592cc68de3381
tree403bbee246f1912e021082e8df3a730287db83e5
parent2c964c558641a3bddaee5719c9e6d8805f777812
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: 96518518cc41 ("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