tcp/sack: Prevent invalid SACK option from being processed
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 26 Mar 2012 03:36:53 +0000 (11:36 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 27 Mar 2012 01:34:53 +0000 (09:34 +0800)
commit193a7dce9c8194cd5ca7f1f2a645cefc68d03c35
tree9b2b5a4c0e29a6e2b0e637309ff930f38c2b2f15
parent4aaae533fbf8d54a8ccd50b877095204643887a3
tcp/sack: Prevent invalid SACK option from being processed

If the received SACK blocks contain one invalid SACK block,
discard the whole SACK blocks.
sys/netinet/tcp_input.c