From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:51309 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752064AbeDJGXV (ORCPT ); Tue, 10 Apr 2018 02:23:21 -0400 Received: by mail-wm0-f67.google.com with SMTP id u189so23501979wmd.1 for ; Mon, 09 Apr 2018 23:23:21 -0700 (PDT) Date: Mon, 9 Apr 2018 23:23:17 -0700 From: Nathan Chancellor To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, "Jason A. Donenfeld" , Steffen Klassert , Herbert Xu , "David S. Miller" Subject: Re: [PATCH 4.9] ipsec: check return value of skb_to_sgvec always Message-ID: <20180410062317.GA548@flashbox> References: <20180409180525.32425-1-natechancellor@gmail.com> <20180409180525.32425-4-natechancellor@gmail.com> <20180409202530.GA1965@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180409202530.GA1965@kroah.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Apr 09, 2018 at 10:25:30PM +0200, Greg Kroah-Hartman wrote: > On Mon, Apr 09, 2018 at 11:05:25AM -0700, Nathan Chancellor wrote: > > From: "Jason A. Donenfeld" > > > > commit 3f29770723fe498a5c5f57c3a31a996ebdde03e1 upstream. > > > > Signed-off-by: Jason A. Donenfeld > > Cc: Steffen Klassert > > Cc: Herbert Xu > > Cc: "David S. Miller" > > Signed-off-by: David S. Miller > > [natechancellor: Adjusted context due to lack of fca11ebde3f0] > > Signed-off-by: Nathan Chancellor > > --- > > net/ipv4/ah4.c | 8 ++++++-- > > net/ipv4/esp4.c | 13 ++++++++----- > > net/ipv6/ah6.c | 8 ++++++-- > > net/ipv6/esp6.c | 12 ++++++++---- > > 4 files changed, 28 insertions(+), 13 deletions(-) > > Thanks, now there are only 4 build warnings left due to this change, > I'll go fix them up in the morning... > > greg k-h Sorry, I should have checked the other call sites of skb_to_sgvec* :/ These are the other two commits, I've sent the backports out in a separate email thread: 89a5ea996625 ("rxrpc: check return value of skb_to_sgvec always") e2fcad58fd23 ("virtio_net: check return value of skb_to_sgvec always") Cheers! Nathan (sorry, meant to send this several hours ago then got distracted...)