Messages in this thread | | | Date | Wed, 1 Nov 2023 21:38:32 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH] net: usbnet: Fix potential NULL pointer dereference |
| |
On Wed, 1 Nov 2023 20:55:11 +0800 Ren Mingshuai wrote: > >23ba07991dad said SKB can be NULL without describing the triggering > >scenario. Always Check it before dereference to void potential NULL > >pointer dereference. > I've tried to find out the scenarios where SKB is NULL, but failed. > It seems impossible for SKB to be NULL. If SKB can be NULL, please tell > me the reason and I'd be very grateful.
What do you mean? Grepping the function name shows call sites with NULL getting passed as skb.
| |