]> git.baikalelectronics.ru Git - kernel.git/commit
net: Use lockdep_assert_in_softirq() in napi_consume_skb()
authorYunsheng Lin <linyunsheng@huawei.com>
Tue, 24 Nov 2020 10:49:29 +0000 (18:49 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Nov 2020 23:08:38 +0000 (15:08 -0800)
commitb6d8e0945dbf26c4ae5b7461c515e70857252657
tree7e7ba80fe4b8140a2871e460c39ec9d01a6e6299
parent2a078b442986d061deedec270954b27c412c325c
net: Use lockdep_assert_in_softirq() in napi_consume_skb()

Use napi_consume_skb() to assert the case when it is not called
in a atomic softirq context.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/skbuff.c