aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2025-07-11 11:39:59 +0000
committerJakub Kicinski <[email protected]>2025-07-15 01:41:15 +0000
commit9ca48d616ed76b284f946667a3cb7961205c8ee3 (patch)
tree4b4e15fe1c9df854a449b7762b868d932c046320 /drivers/platform/x86/intel/pmt/class.c
parentnet: wangxun: fix LIBWX dependencies again (diff)
downloadkernel-9ca48d616ed76b284f946667a3cb7961205c8ee3.tar.gz
kernel-9ca48d616ed76b284f946667a3cb7961205c8ee3.zip
tcp: do not accept packets beyond window
Currently, TCP accepts incoming packets which might go beyond the offered RWIN. Add to tcp_sequence() the validation of packet end sequence. Add the corresponding check in the fast path. We relax this new constraint if the receive queue is empty, to not freeze flows from buggy peers. Add a new drop reason : SKB_DROP_REASON_TCP_INVALID_END_SEQUENCE. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions