Message ID | 48fc1cc230c4840898ded9e57653b11f274d511a.1567649729.git.baolin.wang@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp153447ilq; Wed, 4 Sep 2019 20:06:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmRI4BPmbDrnsIt14x4qtfVIDmkgp+EkNgb5aqJYADxdEA6chdypc7pilueEEu2unz7HE4 X-Received: by 2002:a63:c70d:: with SMTP id n13mr1109730pgg.171.1567652819365; Wed, 04 Sep 2019 20:06:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567652819; cv=none; d=google.com; s=arc-20160816; b=xWih28vfLmEyANS/CXak3bApC34Ei8dCjYTUT6AVImXLSPS9Co682DqTKnOHW2d0dn dcnvH/ZkxAz5bxxmjw0+EXya3k+6b4BqBRyzfNHX5LBGM0J4nnc1RnH5t3kkW7JwXSzc efOpCOjINutvOJKAmCs4Nw3UGjO+IxpAIV/6/HhgJmq7YsJt12k4smyHhdAxZ2QfQq7D 7ILfA4pVTfhpeAEdqCV5WcyXNnLOcjYNzhMK0jZHMTBrQsGATJQKLpKXRfS978FDz8uv NnhzswxcgigxdcN+M4nUaaJY+MBoYJPBEPw+7tz3FKkbkhM4BJYWxJ+R/eHcp2sn4/GW jx2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ELttBCRw1A5YO2An5LqOnscxESNC1jHrDOB2eOhUzf0=; b=CmQHwGhotRNaaidSIjmmocN1MltjA8Yh2HpUOwmEpxFltr6jlKebdYEkMpr6RMk/mz VFCn6F8uHZxSE/kOHBTrtxs0Wu0+gQJE8uY15hxzIgp7zpNYKLDfWdnNOTAn3fRlT1DF 3rDi0Y9I6Lq+dlOnqoBMQzRvbcOa/4xjh1XISqIDg2kdS0XYKtay2gjzjTFbxzC9cpeo bO5BvnOQvIhZImgfPo75smI7HPJayMv/8CStuGVHPbPXOL0AO+/zhNrFNPPmofud8cn5 PRVW0gWvAwG94MlcQeL8/blDipwv+TcbNtuDgYpBIR/hqqr5ZjHR02OlEcPcGL2dAfR4 Erdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nPb1Hpra; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j4si824601pjt.9.2019.09.04.20.06.59; Wed, 04 Sep 2019 20:06:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nPb1Hpra; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731030AbfIEDGz (ORCPT <rfc822;naresh.kamboju@linaro.org> + 14 others); Wed, 4 Sep 2019 23:06:55 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37732 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730716AbfIEDGz (ORCPT <rfc822;stable@vger.kernel.org>); Wed, 4 Sep 2019 23:06:55 -0400 Received: by mail-pf1-f195.google.com with SMTP id y9so754003pfl.4 for <stable@vger.kernel.org>; Wed, 04 Sep 2019 20:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ELttBCRw1A5YO2An5LqOnscxESNC1jHrDOB2eOhUzf0=; b=nPb1Hpra7lqtzWoDX7p3CwYYne28JfIDVytSB/01eknPmAJcb7kVWu95VG+U4ZEZgE l5VuOduJ/BjKaWI6PJMfHuIsIZoA06axlX2II/apMQ/HDWsfAvMOxTThrr5cCjTsPUz/ grodGpmKSfuMPURQWkJyvU+wUKQqG7i4MVckTpeYCEK+4FbcShEV/QALo+bKQXj132oy NSnHrBwwDCfRme5aKHxcALcRPXH5m+EsUIBjnYOXUoDPGA8YL+FEqsYRrxoLl4tVIjWo 7Wn9k/0y4dfyRVEBQT68Z+JMflYckhBJosyoUP1DYcsvz/qGmPBCXWceAAKgpjpQQuA6 RoUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ELttBCRw1A5YO2An5LqOnscxESNC1jHrDOB2eOhUzf0=; b=PEhR7wzlnEopXCAd/qS5o8SY13+IL1wkgbH2dJqWg9Y/Ozag6Lbd7VaeagOgtf+7G0 VetYDOrMT9mljLgh49TbzNNLgLuDKaNV4VIEWVpjYWhIr97dib7EkR/k29mfDDdQEZ94 JDHZ2uy7/RwWQvU+MUukM8KdRvlwZqq1zWatOB7qJ6LHzKrLqsyXieJjICuepqmlzX0L DKqoTR8/37HOta8/QBhBRr/+HX6A7JdWUkTdzrIECg+ghuufFRM8gmFHLo4VtV6qnOoD inbHBV3y75M0k1LT8e/VhUtOvX+p1E7DY+PFe5+o/jDkxXeigXUmmLZbMfPjz66qsnC5 OWZQ== X-Gm-Message-State: APjAAAU01yIyluHzlvebvgquTnuY5y6UvuflRDwqbhILsfF0DY5e/2Dr atEAtI97cu6oA6lZuChi3lYT4SGvTmiPUA== X-Received: by 2002:a17:90a:8a02:: with SMTP id w2mr198598pjn.131.1567652814821; Wed, 04 Sep 2019 20:06:54 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id n9sm461728pgf.64.2019.09.04.20.06.51 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Sep 2019 20:06:54 -0700 (PDT) From: Baolin Wang <baolin.wang@linaro.org> To: stable@vger.kernel.org, davem@davemloft.net, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org Cc: edumazet@google.com, netdev@vger.kernel.org, arnd@arndb.de, baolin.wang@linaro.org, orsonzhai@gmail.com, vincent.guittot@linaro.org, linux-kernel@vger.kernel.org Subject: [BACKPORT 4.14.y v2 1/6] ip6: fix skb leak in ip6frag_expire_frag_queue() Date: Thu, 5 Sep 2019 11:06:18 +0800 Message-Id: <48fc1cc230c4840898ded9e57653b11f274d511a.1567649729.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <cover.1567649728.git.baolin.wang@linaro.org> References: <cover.1567649728.git.baolin.wang@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
[BACKPORT,4.14.y,v2,1/6] ip6: fix skb leak in ip6frag_expire_frag_queue()
|
expand
|
diff --git a/include/net/ipv6_frag.h b/include/net/ipv6_frag.h index 28aa9b3..1f77fb4 100644 --- a/include/net/ipv6_frag.h +++ b/include/net/ipv6_frag.h @@ -94,7 +94,6 @@ static inline u32 ip6frag_obj_hashfn(const void *data, u32 len, u32 seed) goto out; head->dev = dev; - skb_get(head); spin_unlock(&fq->q.lock); icmpv6_send(head, ICMPV6_TIME_EXCEED, ICMPV6_EXC_FRAGTIME, 0);