Fwd: [PATCH stable-3.14] usb: gadget: f_ncm: fix skb_clone memleak on error

2016-01-03 Thread pavi1729
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

skb_clone query

2015-12-28 Thread pavi1729
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

Re: Does the Community use Coverity ?

2015-12-17 Thread pavi1729
..@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 ? >>

Fwd: Query regarding Coverity tool

2015-12-14 Thread pavi1729
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.