diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-09-11 11:42:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:53:57 +0100 |
commit | db70320a71fbd38a560335a47613ac33d61eb5a7 (patch) | |
tree | 649b26c556aba19b39c04656d787f34ab3d8fd40 /net/netlabel | |
parent | 7c235b44dc99b4237fc0a54301eda60acc7a0af6 (diff) |
llc: avoid blocking in llc_sap_close()
[ Upstream commit 9708d2b5b7c648e8e0a40d11e8cea12f6277f33c ]
llc_sap_close() is called by llc_sap_put() which
could be called in BH context in llc_rcv(). We can't
block in BH.
There is no reason to block it here, kfree_rcu() should
be sufficient.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions