]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ctnetlink: do not erase error code with EINVAL
authorFlorent Fourcot <florent.fourcot@wifirst.fr>
Wed, 3 Nov 2021 22:21:55 +0000 (23:21 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Nov 2021 10:39:11 +0000 (11:39 +0100)
commitd5551b5de4f6b0b2e6c2c88e8e34f42471061b8e
tree12c263305a70458c4db21af662c7441f12ba43ee
parent3d394316dc5d6a242c47ef96d9bee8a4b479707a
netfilter: ctnetlink: do not erase error code with EINVAL

And be consistent in error management for both orig/reply filtering

Fixes: 9127563e6a41 ("netfilter: ctnetlink: add kernel side filtering for dump")
Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c