diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-31 01:04:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-28 13:16:50 +0200 |
commit | cb87700ccb0d4cbfc430d42bcf07029a63943d3a (patch) | |
tree | b2fb4129c83a31364cff2b154aaf7d912f7c4607 | |
parent | 854ccaa1efd188830712359fa14b3d5b881b1d62 (diff) | |
download | linux-stable-cb87700ccb0d4cbfc430d42bcf07029a63943d3a.tar.gz linux-stable-cb87700ccb0d4cbfc430d42bcf07029a63943d3a.tar.bz2 linux-stable-cb87700ccb0d4cbfc430d42bcf07029a63943d3a.zip |
netfilter: conntrack: do not print icmpv6 as unknown via /proc
commit fbea31808ca124dd73ff6bb1e67c9af4607c3e32 upstream.
/proc/net/nf_conntrack shows icmpv6 as unknown.
Fixes: 09ec82f5af99 ("netfilter: conntrack: remove protocol name from l4proto struct")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | net/netfilter/nf_conntrack_standalone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c index dcd8e7922951..2e3ae494f369 100644 --- a/net/netfilter/nf_conntrack_standalone.c +++ b/net/netfilter/nf_conntrack_standalone.c @@ -262,6 +262,7 @@ static const char* l4proto_name(u16 proto) case IPPROTO_GRE: return "gre"; case IPPROTO_SCTP: return "sctp"; case IPPROTO_UDPLITE: return "udplite"; + case IPPROTO_ICMPV6: return "icmpv6"; } return "unknown"; |