Thread (4 messages) flat view 4 messages, 2 authors, 2020-11-25
STALE2093d LANDED

Revision v3 of 2 in this series; landed in mainline as 0e1f1cc89a77 on 2020-11-25.

Revisions (2)
  1. v2 [diff vs current]
  2. v3 current

[PATCH net-next v3 0/2] Add an assert in napi_consume_skb()

From: Yunsheng Lin <hidden>
Date: 2020-11-24 10:53:36
Also in: lkml

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.

Changelog:
V3: add comment to emphasize the ambiguous semantics
V2: Use lockdep instead of one-off Kconfig knob

Yunsheng Lin (2):
  lockdep: Introduce in_softirq lockdep assert
  net: Use lockdep_assert_in_softirq() in napi_consume_skb()

 include/linux/lockdep.h | 8 ++++++++
 net/core/skbuff.c       | 2 ++
 2 files changed, 10 insertions(+)

-- 
2.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help