Files
ubports_kernel_google_msm/include/linux
David S. Miller 3610cda53f af_unix: Avoid socket->sk NULL OOPS in stream connect security hooks.
unix_release() can asynchornously set socket->sk to NULL, and
it does so without holding the unix_state_lock() on "other"
during stream connects.

However, the reverse mapping, sk->sk_socket, is only transitioned
to NULL under the unix_state_lock().

Therefore make the security hooks follow the reverse mapping instead
of the forward mapping.

Reported-by: Jeremy Fitzhardinge <jeremy@goop.org>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-05 15:38:53 -08:00
..
2010-11-15 20:44:26 -05:00
2010-10-30 08:31:35 -07:00
2010-12-11 01:28:58 -05:00
2010-10-30 08:45:43 -04:00
2010-11-10 14:54:09 +01:00
2010-11-10 14:54:09 +01:00
2010-12-13 16:11:13 -08:00
2010-11-17 14:55:45 +09:00
2010-12-08 10:30:34 -08:00
2010-11-15 22:40:38 +01:00
2010-11-15 22:40:38 +01:00
2010-11-16 10:58:30 -08:00
2010-11-24 11:16:42 -08:00
2010-12-09 20:17:07 -08:00
2010-10-28 17:22:13 -04:00
2010-12-22 10:27:53 +01:00
2010-11-12 07:55:32 -08:00
2010-11-16 13:33:23 -08:00
2010-10-28 09:08:47 -05:00
2010-12-06 11:03:46 -08:00
2010-12-02 09:58:00 -05:00
2010-12-20 14:49:47 -05:00
2010-11-12 07:55:32 -08:00
2010-10-29 04:16:31 -04:00
2010-11-15 13:24:06 -05:00
2010-10-27 18:03:16 -07:00
2010-10-30 12:12:50 +02:00
2010-11-15 13:25:02 -05:00