diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-11-14 23:47:18 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-14 23:47:18 (GMT) |
commit | 96a2d41a3e495734b63bff4e5dd0112741b93b38 (patch) | |
tree | 4190a560eabaa8dd6a78c1bf2d43515605954874 /net/ipv4/inetpeer.c | |
parent | fb93134dfc2a6e6fbedc7c270a31da03fce88db9 (diff) | |
download | linux-fsl-qoriq-96a2d41a3e495734b63bff4e5dd0112741b93b38.tar.xz |
[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 'net/ipv4/inetpeer.c')
0 files changed, 0 insertions, 0 deletions