[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200818.155716.1040301879924529140.davem@davemloft.net>
Date: Tue, 18 Aug 2020 15:57:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linmiaohe@...wei.com
Cc: kuba@...nel.org, martin.varghese@...ia.com, fw@...len.de,
pshelar@....org, dcaratti@...hat.com, edumazet@...gle.com,
steffen.klassert@...unet.com, pabeni@...hat.com,
shmulik@...anetworks.com, kyk.segfault@...il.com,
sowmini.varadhan@...cle.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: handle the return value of pskb_carve_frag_list()
correctly
From: Miaohe Lin <linmiaohe@...wei.com>
Date: Sat, 15 Aug 2020 04:46:41 -0400
> pskb_carve_frag_list() may return -ENOMEM in pskb_carve_inside_nonlinear().
> we should handle this correctly or we would get wrong sk_buff.
>
> Fixes: 6fa01ccd8830 ("skbuff: Add pskb_extract() helper function")
> Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists