From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] ipv6: fix possible mem leaks in ipv6_make_skb() Date: Wed, 10 Jan 2018 16:02:10 -0500 (EST) Message-ID: <20180110.160210.1883459236417126456.davem@davemloft.net> References: <1515584749.131759.21.camel@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: vyasevic@redhat.com, netdev@vger.kernel.org, maloney@google.com To: eric.dumazet@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:55364 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbeAJVCM (ORCPT ); Wed, 10 Jan 2018 16:02:12 -0500 In-Reply-To: <1515584749.131759.21.camel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Wed, 10 Jan 2018 03:45:49 -0800 > From: Eric Dumazet > > ip6_setup_cork() might return an error, while memory allocations have > been done and must be rolled back. > > Fixes: 6422398c2ab0 ("ipv6: introduce ipv6_make_skb") > Signed-off-by: Eric Dumazet > Cc: Vlad Yasevich > Reported-by: Mike Maloney Applied and queeud up for -stable, thanks.