Skip to content
Commit 0e1f1cc8 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

Merge branch 'add-an-assert-in-napi_consume_skb'



Yunsheng Lin says:

====================
Add an assert in napi_consume_skb()

This patch introduces a lockdep_assert_in_softirq() interface and
uses it to assert the case when napi_consume_skb() is not called in
the softirq context.
====================

Link: https://lore.kernel.org/r/1606214969-97849-1-git-send-email-linyunsheng@huawei.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents b5094a3b 6454eca8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment