android_kernel_xiaomi_sm8350/net/dccp
Wei Yongjun 18e1d83600 dccp: Fix incorrect length check for ICMPv4 packets
Unlike TCP, which only needs 8 octets of original packet data, DCCP requires
minimally 12 or 16 bytes for ICMP-payload sequence number checks.

This patch replaces the insufficient length constant of 8 with a two-stage
test, making sure that 12 bytes are available, before computing the basic
header length required for sequence number checks.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-07-26 11:59:10 +01:00
..
ccids dccp ccid-3: Length of loss intervals 2008-07-13 11:51:40 +01:00
ackvec.c dccp: Fix sparse warnings 2008-06-11 11:19:09 +01:00
ackvec.h
ccid.c
ccid.h
dccp.h dccp: Allow to distinguish original and retransmitted packets 2008-07-26 11:59:09 +01:00
diag.c
feat.c dccp: return -EINVAL on invalid feature length 2008-05-05 13:50:24 -07:00
feat.h
input.c net: convert BUG_TRAP to generic WARN_ON 2008-07-25 21:43:18 -07:00
ipv4.c dccp: Fix incorrect length check for ICMPv4 packets 2008-07-26 11:59:10 +01:00
ipv6.c dccp: Add check for sequence number in ICMPv6 message 2008-07-26 11:59:10 +01:00
ipv6.h
Kconfig
Makefile
minisocks.c dccp: Bug in initial acknowledgment number assignment 2008-06-11 11:19:10 +01:00
options.c dccp: Upgrade NDP count from 3 to 6 bytes 2008-07-13 11:51:40 +01:00
output.c dccp: Bug-Fix - AWL was never updated 2008-07-26 11:59:10 +01:00
probe.c dccp: Fix sparse warnings 2008-06-11 11:19:09 +01:00
proto.c net: convert BUG_TRAP to generic WARN_ON 2008-07-25 21:43:18 -07:00
sysctl.c
timer.c dccp: Allow to distinguish original and retransmitted packets 2008-07-26 11:59:09 +01:00