[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141014.131043.689905508499161205.davem@davemloft.net>
Date: Tue, 14 Oct 2014 13:10:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: alex.aring@...il.com
Cc: netdev@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH net] skbuff: fix ftrace handling in skb_unshare
From: Alexander Aring <alex.aring@...il.com>
Date: Fri, 10 Oct 2014 23:10:47 +0200
> If the skb is not dropped afterwards we should run consume_skb instead
> kfree_skb. Inside of function skb_unshare we do always a kfree_skb,
> doesn't depend if skb_copy failed or was successful.
>
> This patch switch this behaviour like skb_share_check, if allocation of
> sk_buff failed we use kfree_skb otherwise consume_skb.
>
> Signed-off-by: Alexander Aring <alex.aring@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists