netfilter: conntrack: clamp l4proto array size at largers supported protocol
authorFlorian Westphal <fw@strlen.de>
Wed, 12 Sep 2018 13:19:14 +0000 (15:19 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Sep 2018 16:08:14 +0000 (18:08 +0200)
commit93185c80a5f748620f5652e492f2a1c8d89db593
tree71dd131a3c414b202fea3f69f9e786ce107d69b7
parentdd2934a95701576203b2f61e8ded4e4a2f9183ea
netfilter: conntrack: clamp l4proto array size at largers supported protocol

All higher l4proto numbers are handled by the generic tracker; the
l4proto lookup function already returns generic one in case the l4proto
number exceeds max size.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_l4proto.h
net/netfilter/nf_conntrack_proto.c