diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-11-26 17:43:11 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-27 17:44:22 -0800 |
| commit | 4c03592689bc19df9deda7a33d56c6ac0cec8651 (patch) | |
| tree | dd47548febb623031855408cf7174326fdf9615a /lib/debugobjects.c | |
| parent | 362a161b2582f8d6a34b3b0940f8323adc2f292f (diff) | |
| download | net-4c03592689bc19df9deda7a33d56c6ac0cec8651.tar.gz | |
net: restore napi_consume_skb()'s NULL-handling
Commit e20dfbad8aab ("net: fix napi_consume_skb() with alien skbs")
added a skb->cpu check to napi_consume_skb(), before the point where
napi_consume_skb() validated skb is not NULL.
Add an explicit check to the early exit condition.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
