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)
commitf779b2d60ab95c17f1e025778ed0df3ec2f05d75
tree0a83ff862dd34ff9f9864212af8faf06ea526a96
parente05c82d3666119075615fdbf6abca0266344f27b
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