aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-06-24 16:11:54 -0400
committerHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>2011-10-17 13:33:00 -0400
commitc4934634206b53c39da3d8042c76c0b09d30ef5b (patch)
tree5a1a12f43989f3871b42b27457c73ecbf16ca199 /ipc/mqueue.c
parent54c2f01b75b73f13e9af149ae5c896f68d2c49b5 (diff)
iscsi_tcp: fix locking around iscsi sk user data
BugLink: http://bugs.launchpad.net/bugs/868628 commit 03adb5f91280b433c3685d0ee86b2e1424af3d88 upstream. iscsi_sw_tcp_conn_restore_callbacks could have set the sk_user_data field to NULL then iscsi_sw_tcp_data_ready could read that and try to access the NULL pointer. This adds some checks for NULL sk_user_data in the sk callback functions and it uses the sk_callback_lock to set/get that sk_user_data field. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions