]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Wrong use of RCU in receive_protocol()
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 28 Apr 2011 13:24:18 +0000 (15:24 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:52:57 +0000 (16:52 +0100)
commit86db06180a48999b9f1883dd8bf871c882dbf075
treef4d4481a642853beccb23a899142d47a6c471535
parentacb104c396f915a46a0ff5e0bd588764fcbbf1ab
drbd: Wrong use of RCU in receive_protocol()

It is not enough to grab net_conf->integrity_alg under rcu_read_lock()
and access it outside of it; the entire net_conf object may be gone by
then.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c