From: David Howells In-Reply-To: <20170511194134.31183-2-Jason@zx2c4.com> References: <20170511194134.31183-2-Jason@zx2c4.com> <20170511194134.31183-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30550.1494853968.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Mon, 15 May 2017 14:12:48 +0100 Message-ID: <30551.1494853968@warthog.procyon.org.uk> Subject: [kernel-hardening] Re: [PATCH v8 1/5] skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow To: "Jason A. Donenfeld" Cc: dhowells@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, kernel-hardening@lists.openwall.com, Steffen Klassert , Herbert Xu , Sabrina Dubroca , "Michael S. Tsirkin" , Jason Wang List-ID: Jason A. Donenfeld wrote: > +int skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offse= t, int len) > ... > -int skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offse= t, int len) Is there a reason you moved skb_to_sgvec() in the file rather than just mo= ving the comment to it (since you moved the comment anyway)? David