commit | 7228cb8d997fac5813e78cfd17740d51773962c0 | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Tue Sep 11 11:42:06 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 09:52:18 2019 +0100 |
tree | 3777ee67b85bc68ca8d7dbba731e6c987f942f8a | |
parent | 1d642b3f9e68ff34a4d0f5e7e88b8454f460eab1 [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>