diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-11-14 15:47:18 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-14 15:47:18 -0800 |
commit | 96a2d41a3e495734b63bff4e5dd0112741b93b38 (patch) | |
tree | 4190a560eabaa8dd6a78c1bf2d43515605954874 /drivers/scsi/arm | |
parent | fb93134dfc2a6e6fbedc7c270a31da03fce88db9 (diff) | |
download | linux-96a2d41a3e495734b63bff4e5dd0112741b93b38.tar.bz2 |
[TCP]: Make sure write_queue_from does not begin with NULL ptr
NULL ptr can be returned from tcp_write_queue_head to cached_skb
and then assigned to skb if packets_out was zero. Without this,
system is vulnerable to a carefully crafted ACKs which obviously
is remotely triggerable.
Besides, there's very little that needs to be done in sacktag
if there weren't any packets outstanding, just skipping the rest
doesn't hurt.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/arm')
0 files changed, 0 insertions, 0 deletions