summaryrefslogtreecommitdiffstats
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorLars Ellenberg2010-03-03 02:25:33 +0100
committerPhilipp Reisner2010-03-11 16:02:45 +0100
commit4589d7f829951c1713ef5a4ad1a9bb563da329b5 (patch)
tree96a1ef3be7118a0a0dbf6b18f609486323f062c5 /lib/smp_processor_id.c
parentfix unit of rs_same_csums accounting (diff)
downloadkernel-qcow2-linux-4589d7f829951c1713ef5a4ad1a9bb563da329b5.tar.gz
kernel-qcow2-linux-4589d7f829951c1713ef5a4ad1a9bb563da329b5.tar.xz
kernel-qcow2-linux-4589d7f829951c1713ef5a4ad1a9bb563da329b5.zip
drbd_disconnect: grab meta.socket mutex as well
Fixes a race and potential kernel panic if e.g. the worker was just about to send a few P_RS_IS_IN_SYNC via the meta socket for checksum based resync, while the receiver destroys the sockets in drbd_disconnect. To make sure no-one is using the meta socket, it is not enough to stop the asender... Grab the meta socket mutex before destroying it. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions