Fixed skb_clone pointer memleak on error path. Since the
newly cloned skb is still not added to the list, hence purge
list wont free the cloned skb.
stable-3.14.y: 5d7b0fcc26
Signed-off-by: Pavitrakumar Managutte
---
drivers/usb/gadget/f_ncm.c | 2 ++
1 file changed, 2 insertions(+)
diff --gi
Hi,
Just out of curisity, I was looking at Kernel 3.14, skb_clone
function in f_ncm.c
http://lxr.free-electrons.com/source/drivers/usb/gadget/f_ncm.c?v=3.14#L1063
QUERY : Shouldn't a kfree_skb(skb2); happen before goto err @1070 ?
Is this not a memleak ?
1068 if (!skb
..@kernelnewbies.org] On Behalf Of
>>pavi1729
>>Sent: Monday, December 14, 2015 11:03 PM
>>To: kernelnewb...@kernelnewbies.org; linux-fsde...@vger.kernel.org; linux-
>>m...@vger.kernel.org; linux-net...@vger.kernel.org
>>Subject: Does the Community use Coverity ?
>>
Hi,
May I know if the community uses the Coverity tool and, if yes where
can I find a repo of
Coverity scans of kernels and IGNORE LIST; cause there obviously be
false positives.
Cheers,
Pavi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord.