]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix validation of D-SACK
authorZheng Yan <zheng.z.yan@intel.com>
Mon, 19 Sep 2011 02:37:34 +0000 (22:37 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2011 02:37:34 +0000 (22:37 -0400)
commit70d54b610c3e8781f1352d8038eb9d263ecd8c2c
tree0a83ff862dd34ff9f9864212af8faf06ea526a96
parent9827938b75d06a88aff9dbf8e0b6514fb9660f61
tcp: fix validation of D-SACK

D-SACK is allowed to reside below snd_una. But the corresponding check
in tcp_is_sackblock_valid() is the exact opposite. It looks like a typo.

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c