]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net/tls: avoid NULL-deref on resync during device removal"
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 4 Jun 2019 19:00:11 +0000 (12:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 20:34:37 +0000 (13:34 -0700)
commit7c696b0dff545c555199c06ea4d198e77c680517
tree7bf67aa55e7e022f587517963fe81ab00c97eb7c
parenta93c01cb6d7a8224b09719cdfab3c7d551dd9744
Revert "net/tls: avoid NULL-deref on resync during device removal"

This reverts commit 48bf54da97dfd3514e28d9fb387f41c27e613333.
Unfortunately the RX resync may get called from soft IRQ,
so we can't take the rwsem to protect from the device
disappearing.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_device.c