From patchwork Thu Feb 14 12:49:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 158356 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1323980jaa; Thu, 14 Feb 2019 04:49:25 -0800 (PST) X-Google-Smtp-Source: AHgI3IY9zUUhUMJ5EqnM+TXqaTT0VHsx3ExGGKdS4oMG/HQm/wm/4Y+A3dPJOD4EHBFCpFmbTEF4 X-Received: by 2002:a62:1382:: with SMTP id 2mr137098pft.157.1550148564940; Thu, 14 Feb 2019 04:49:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550148564; cv=none; d=google.com; s=arc-20160816; b=dx90tmMdf1VpCTqA1YO14UiE707JPK8/pinoQSQcKridvAKXwtf9Ut55CeBH9p9kH/ gAr94p3jB8KCVROT6xPei2wYdiVyf8cnHNIhZtQWqUbeqan6TRntuh4a7Ez6lN4M4u8v PAqachqFZqu815NPRY7BAZhSXqIDjALvocEMFPhEcFw1X9pM3uEZx8RZ2LeJnSmZtsmD mYPexvywruy7oms0UTtyvHmO5DjDpFlNM2ESXgr/47TuULNA77f2mCZfn3rX9x8LdizP NCPeSYgZRZXt3H+OYJ9pjhPtF41FTrx7DAFitMT8dod/xLoj7ZxltEQKGl9UgVFyJZDO 3P3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AxB5E8mzQzp9GvSaIvzDNlt0T/UcbDj0kV7nRaP/mFw=; b=RqpCUxAmGiKegoBr+4TkWeq2AJsCexQfKfSDpm4gHCHVhQTB4uUIZBhTPoJx8YYdK0 NwBlGXiSgPz/HxoC+ouktuG7Uv8VdDdK4/FxQcICrbD6pqVEaBeRRNcmtek1fjJUn9Wi ozrGQAOPR55nAMlQ3NCtkXHlMY/H+pKEUhw8D13f0c7/EJmKTm1HXkmyOi20G/dk0PAY q5uvHFP8Css5kiRtsd4NspARM5xW4MzfLmGPdqNpJOXH/01qhH7sD8omF9jgkGQXVXg6 O+0k06jKu1OK3ElLpDaDFmxFIVs0WBEyX6ebRAliAJ564ZbeP2aqYihr0jR/xVT4nTSk cNXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MqapIQq2; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si2310745pfi.184.2019.02.14.04.49.24; Thu, 14 Feb 2019 04:49:24 -0800 (PST) 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=MqapIQq2; 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 S1732071AbfBNMtY (ORCPT + 15 others); Thu, 14 Feb 2019 07:49:24 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46531 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727958AbfBNMtX (ORCPT ); Thu, 14 Feb 2019 07:49:23 -0500 Received: by mail-lj1-f195.google.com with SMTP id v16so5083575ljg.13 for ; Thu, 14 Feb 2019 04:49:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AxB5E8mzQzp9GvSaIvzDNlt0T/UcbDj0kV7nRaP/mFw=; b=MqapIQq2G/AI9nUjPo5s5kWZjed/LvO6qpMLtSKVvHq+NqAdyUjRHha5HeNUJ6Laou 1lzzhg664tRgJPKEsQZpkzCm9Svv5q++Rrjw3sBHOddJd/9jRgdx9MamN363elsTxwWD YHJ6XXu1ku2UV+t1sH2rOFgqJkUt36kvrnSu7Fa4vu2K44nKLCu+eCo5Ix0GY/qbs9YA zyiQI7WtmtPkuMjTSUImIGdo61TwLXRkaEulTf+eU1g8NcspDkuQGsDbpyAqdZm4XICI ZeJS0cc6j76GMhua0rdC6rHKlWfV9crvNNNsMBYMOcmeQwTzC44mrJ4kz2pPt3H3QYMw z26g== 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:mime-version :content-transfer-encoding; bh=AxB5E8mzQzp9GvSaIvzDNlt0T/UcbDj0kV7nRaP/mFw=; b=PEiDPkOeRufhh5rW0AKjUt9zehsRQDi0yUYOo2me3EEYpkdlbBMicyqYQfit81/+5a TWIGAgDTI8k82LibTTxrjvC/tWvwZ4NyTjacx7w2KAXczcx0DUtl9q/AoIcCMEbDUcAs bndgy0T+5ZQ3+Xmzg9FvGMOJ3hkLndlW+EG2oCGKaxXQMN/Ce2UL54F1RbYFFk3Qho7w Fd41iHZJQA2vpZSobA4orcbm3+ZjllMN1RqplWDD+LQ7NfOtWQvrU2YrIe4nCU89dv03 PBtQDhvPRko+sPufqTRVqv24d5Buxf9+dSRGGIkTQawfbGFs7RwKWfc9Yldq2bk0rOU9 ws1g== X-Gm-Message-State: AHQUAuZMNMJ5M067A+2uTxl+SnGAb/NihcJJMKgQtRqsIXKA9xY5s/5L UV47MI+wdPUf2dAYBHP3lJZbkA== X-Received: by 2002:a2e:8156:: with SMTP id t22-v6mr2383399ljg.32.1550148561479; Thu, 14 Feb 2019 04:49:21 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id r7-v6sm410853ljg.85.2019.02.14.04.49.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Feb 2019 04:49:20 -0800 (PST) From: Linus Walleij To: Greg Kroah-Hartman , stable@vger.kernel.org, openwrt-devel@lists.openwrt.org Cc: "David S . Miller" , Eric Dumazet , Liping Zhang , John Youn , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , James Hughes , Felix Fietkau , Linus Walleij Subject: [PATCH 0/8 v2] Stable material from OpenWrt for v4.9.y Date: Thu, 14 Feb 2019 13:49:02 +0100 Message-Id: <20190214124910.1753-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a series of patches used in OpenWrt's v4.9 backports that seem to be of generic interest to v4.9.y For the remaining patches I cherry-picked the upstream commits except for (8/8) "netfilter: nf_tables: fix mismatch in big-endian system" where I used OpenWrt's backport. ChangeLog v1->v2: - I have dropped two patches from the series: one was to be applied also to v4.14.y and one was to be applied also to v4.14.y and v4.19.y. The rest are for v4.9.y as they have been merged upstream between v4.9 and v4.14. - The two dropped patches have been sent out separately. - I have added the "commit nnnnn upstream." message on the first line of each commit message to fit stable standards. Upstream commits: The list of upstream commits in patch order: 6db6f0eae6052b70885562e1733896647ec1d807 ("bridge: multicast to unicast") e9156cd26a495a18706e796f02a81fee41ec14f4 ("smsc95xx: Use skb_cow_head to deal with cloned skbs") 6bc6895bdd6744e0136eaa4a11fbdb20a7db4e40 ("ch9200: use skb_cow_head() to deal with cloned skbs") 39fba7835aacda65284a86e611774cbba71dac20 ("kaweth: use skb_cow_head() to deal with cloned skbs") 854826c9d526fd81077742c3b000e3f7fcaef3ce ("ubifs: Drop softlimit and delta fields from struct ubifs_wbuf") 1b7fc2c0069f3864a3dda15430b7aded31c0bfcc ("ubifs: Use dirty_writeback_interval value for wbuf timer") cd4b1e34655d46950c065d9284b596cd8d7b28cd ("usb: dwc2: Remove unnecessary kfree") 10596608c4d62cb8c1c2b806debcbd32fe657e71 ("netfilter: nf_tables: fix mismatch in big-endian system") Eric Dumazet (2): ch9200: use skb_cow_head() to deal with cloned skbs kaweth: use skb_cow_head() to deal with cloned skbs Felix Fietkau (1): bridge: multicast to unicast James Hughes (1): smsc95xx: Use skb_cow_head to deal with cloned skbs John Youn (1): usb: dwc2: Remove unnecessary kfree Liping Zhang (1): netfilter: nf_tables: fix mismatch in big-endian system Rafał Miłecki (2): ubifs: Drop softlimit and delta fields from struct ubifs_wbuf ubifs: Use dirty_writeback_interval value for wbuf timer drivers/net/usb/ch9200.c | 9 +-- drivers/net/usb/kaweth.c | 18 ++---- drivers/net/usb/smsc95xx.c | 12 ++-- drivers/usb/dwc2/hcd.c | 1 - fs/ubifs/io.c | 18 +++--- fs/ubifs/ubifs.h | 9 --- include/linux/if_bridge.h | 1 + include/net/netfilter/nf_tables.h | 29 ++++++++++ include/uapi/linux/if_link.h | 1 + net/bridge/br_forward.c | 39 ++++++++++++- net/bridge/br_mdb.c | 2 +- net/bridge/br_multicast.c | 90 +++++++++++++++++++++-------- net/bridge/br_netlink.c | 5 ++ net/bridge/br_private.h | 3 +- net/bridge/br_sysfs_if.c | 2 + net/ipv4/netfilter/nft_masq_ipv4.c | 8 +-- net/ipv4/netfilter/nft_redir_ipv4.c | 8 +-- net/ipv6/netfilter/nft_masq_ipv6.c | 8 +-- net/ipv6/netfilter/nft_redir_ipv6.c | 8 +-- net/netfilter/nft_ct.c | 10 ++-- net/netfilter/nft_meta.c | 42 +++++++------- net/netfilter/nft_nat.c | 8 +-- 22 files changed, 214 insertions(+), 117 deletions(-) -- 2.20.1