Files
linux-legacy/net
Eric Dumazet 657453424a net: Fix sock_wfree() race
[ Upstream commit d99927f4d93f36553699573b279e0ff98ad7dea6 ]

Commit 2b85a34e91
(net: No more expensive sock_hold()/sock_put() on each tx)
opens a window in sock_wfree() where another cpu
might free the socket we are working on.

A fix is to call sk->sk_write_space(sk) while still
holding a reference on sk.

Reported-by: Jike Song <albcamus@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-12 12:40:27 -07:00
..
2009-05-25 01:53:53 -07:00
2009-08-03 13:24:39 -07:00
2009-10-12 12:40:27 -07:00
2009-01-04 17:29:21 -08:00
2009-08-06 13:08:40 -07:00
2009-05-25 01:53:53 -07:00
2009-07-12 12:22:34 -07:00
2009-08-23 22:55:51 -07:00
2009-08-17 13:38:34 -04:00
2009-08-17 18:05:32 -07:00
2009-08-05 12:14:09 -07:00
2009-08-06 13:08:38 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00