[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1406161735490.21018@chino.kir.corp.google.com>
Date: Mon, 16 Jun 2014 17:36:56 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Nick Krause <xerofoify@...il.com>
cc: Steve Wise <swise@...ngridcomputing.com>, swise@...lsio.com,
roland@...nel.org, sean.hefty@...el.com, hal.rosenstock@...il.com,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] infiniband: Fixes memory leak in send_flowc
On Mon, 16 Jun 2014, Nick Krause wrote:
> That's true David,
> I will resend this parch without the use of the pr_warn.
There's no patch to resend if you don't use pr_warn(). kfree_skb(skb) is
unnecessary if !skb, look at the first thing it checks:
void kfree_skb(struct sk_buff *skb)
{
if (unlikely(!skb))
return;
...
}
Thus, I don't see the memory leak you're referring to.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists