diff options
author | Florian Westphal <fw@strlen.de> | 2023-01-26 02:35:21 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-01-31 14:02:48 +0100 |
commit | bd0e06f0def75ba26572a94e5350324474a55562 (patch) | |
tree | f32e0ac561c3280b84dbe52581fac886fb815fe8 /net/core/skbuff.c | |
parent | 2b272bb558f1d3a5aa95ed8a82253786fd1a48ba (diff) | |
download | linux-stable-bd0e06f0def75ba26572a94e5350324474a55562.tar.gz linux-stable-bd0e06f0def75ba26572a94e5350324474a55562.tar.bz2 linux-stable-bd0e06f0def75ba26572a94e5350324474a55562.zip |
Revert "netfilter: conntrack: fix bug in for_each_sctp_chunk"
There is no bug. If sch->length == 0, this would result in an infinite
loop, but first caller, do_basic_checks(), errors out in this case.
After this change, packets with bogus zero-length chunks are no longer
detected as invalid, so revert & add comment wrt. 0 length check.
Fixes: 98ee00774525 ("netfilter: conntrack: fix bug in for_each_sctp_chunk")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions