diff options
author | tsutomu.owa@toshiba.co.jp <tsutomu.owa@toshiba.co.jp> | 2017-09-12 11:02:10 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-09-25 19:45:21 +0200 |
commit | 26b41099e7e97d6d44769fd159e822a98c98afa2 (patch) | |
tree | 86bdd94467c4233282afc72c68c56375693667bc /fs/dlm/recoverd.c | |
parent | DLM: fix to reschedule rwork (diff) | |
download | linux-26b41099e7e97d6d44769fd159e822a98c98afa2.tar.xz linux-26b41099e7e97d6d44769fd159e822a98c98afa2.zip |
DLM: fix NULL pointer dereference in send_to_sock()
The writequeue and writequeue_lock member of othercon was not initialized.
If lowcomms_state_change() is called from network layer, othercon->swork
may be scheduled. In this case, send_to_sock() will generate a NULL pointer
reference. We avoid this problem by correctly initializing writequeue and
writequeue_lock member of othercon.
Signed-off-by: Tadashi Miyauchi <miyauchi@toshiba-tops.co.jp>
Signed-off-by: Tsutomu Owa <tsutomu.owa@toshiba.co.jp>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/recoverd.c')
0 files changed, 0 insertions, 0 deletions