]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: take RCU read lock for routing cache lookup
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Thu, 21 Sep 2017 07:16:28 +0000 (09:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:31:02 +0000 (15:31 -0700)
commit6734140134469be7ad90854a1acbcb5dd58c5cb9
treea7e7c54a74dd43ae46fd8e3e349676db8089a3f2
parent76418fcc0bdbd9288fa93604603c4e523c82993e
net/smc: take RCU read lock for routing cache lookup

smc_netinfo_by_tcpsk() looks up the routing cache. Such a lookup requires
protection by an RCU read lock.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c