From: Dan Carpenter <[email protected]>
Date: Sat, 9 Sep 2017 11:58:03 +0300

> There is a typo here so we accidentally free "skb" instead of "skbn".
> It leads to a double free and a leak.  After discussing with Subash,
> it's better to just move the check before the allocation and avoid the
> need to free.
> 
> Fixes: ceed73a2cf4a ("drivers: net: ethernet: qualcomm: rmnet: Initial 
> implementation")
> Signed-off-by: Dan Carpenter <[email protected]>
> ---
> v2: Fix the leak as well.  Thanks Subash!

Applied, thanks Dan.

Reply via email to