Steven J. Magnani baff42ab14 net: Fix oops from tcp_collapse() when using splice()
tcp_read_sock() can have a eat skbs without immediately advancing copied_seq.
This can cause a panic in tcp_collapse() if it is called as a result
of the recv_actor dropping the socket lock.

A userspace program that splices data from a socket to either another
socket or to a file can trigger this bug.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-30 13:56:01 -07:00
..
2010-02-22 16:20:22 -08:00
2009-10-18 18:52:53 -07:00
2010-02-22 16:20:22 -08:00
2009-11-13 20:46:58 -08:00
2009-11-25 15:14:13 -08:00
2010-02-22 16:20:22 -08:00
2009-09-14 17:03:01 -07:00
2010-02-18 15:43:09 -08:00
2010-03-05 13:34:03 -08:00
2010-03-08 11:32:01 -08:00
2009-09-14 17:03:01 -07:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2010-03-03 01:04:37 -08:00