diff options
author | Andrei Vagin <avagin@gmail.com> | 2019-04-17 09:49:44 -0700 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-04-22 10:38:50 +0200 |
commit | d48668052b2603b6262459625c86108c493588dd (patch) | |
tree | ad48077fde3d364f2d5ea783330ca5b35d2a98e6 /fs/nfs/symlink.c | |
parent | 916f6efae62305796e012e7c3a7884a267cbacbf (diff) |
netfilter: fix nf_l4proto_log_invalid to log invalid packets
It doesn't log a packet if sysctl_log_invalid isn't equal to protonum
OR sysctl_log_invalid isn't equal to IPPROTO_RAW. This sentence is
always true. I believe we need to replace OR to AND.
Cc: Florian Westphal <fw@strlen.de>
Fixes: c4f3db1595827 ("netfilter: conntrack: add and use nf_l4proto_log_invalid")
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'fs/nfs/symlink.c')
0 files changed, 0 insertions, 0 deletions