commit | b48732e4a48d80ed4a14812f0bab09560846514e | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@android.com> | Tue May 26 08:22:19 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 26 23:19:29 2015 -0400 |
tree | 979d5c6257fe181758030d4a9d52a257c328cf9a | |
parent | 983942a5eacae8821882a3d348618b020098e8dc [diff] |
unix/caif: sk_socket can disappear when state is unlocked got a rare NULL pointer dereference in clear_bit Signed-off-by: Mark Salyzyn <salyzyn@android.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> ---- v2: switch to sock_flag(sk, SOCK_DEAD) and added net/caif/caif_socket.c v3: return -ECONNRESET in upstream caller of wait function for SOCK_DEAD Signed-off-by: David S. Miller <davem@davemloft.net>