Return-Path: Received: from mail-wm0-f49.google.com ([74.125.82.49]:50842 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505AbeDJBWM (ORCPT ); Mon, 9 Apr 2018 21:22:12 -0400 Received: by mail-wm0-f49.google.com with SMTP id t67so22817568wmt.0 for ; Mon, 09 Apr 2018 18:22:12 -0700 (PDT) From: Nathan Chancellor To: Greg Kroah-Hartman , stable@vger.kernel.org Subject: Further fixes for 48a1df65334b Date: Mon, 9 Apr 2018 18:21:41 -0700 Message-Id: <20180410012150.6573-1-natechancellor@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: The backport of 48a1df65334b ("skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow") was missing three supplemental commits: 3f29770723fe ("ipsec: check return value of skb_to_sgvec always") 89a5ea996625 ("rxrpc: check return value of skb_to_sgvec always") e2fcad58fd23 ("virtio_net: check return value of skb_to_sgvec always") I already sent the first one, this thread contains the other two for 3.18, 4.4, and 4.9. There is an additional patch because these trees do not contain f6b10209b90d ("virtio-net: switch to use build_skb() for small buffer"), which removed another call to skb_to_sgvec, which was before f6b10209b90d. If you feel it should be squashed in f6b10209b90d, please by all means feel free to do so. I was not 100% confident on if the dev_kfree_skb call was necessary in the error path so I hope one of the authors can comment on that. Thanks! Nathan