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>
Mon, 26 Mar 2012 03:36:53 +0000 (11:36 +0800)
commit865b0477b2adbf8798d0f021782c2a9b9b61a006
treeaf6a8340826d3e1f4f5aa72b1432c3be3f66dc1b
parent1f98dfc7b04ec1e721a9e0c505263e582705ba30
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