This is a series of patches used in OpenWrt's v4.9 backports
that seem to be of generic interest to v4.9.y
As a bunch of commits hit networking I CC DaveM and
here so the can nod/object to these, I think
the want a bit of control over what goes into networking
stable.
I avoided two patch sets dealing with IPv6 tunneling
and netfilter that seem to still be fixed and I feel generally
incompetent about.
For the remaining patches I cherry-picked the upstream
commits except for (8/10)
"netfilter: nf_tables: fix mismatch in big-endian system"
where I used OpenWrt's backport.
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"
10596608c4d62cb8c1c2b806debcbd32fe657e7
"netfilter: nf_tables: fix mismatch in big-endian system"
65cab850f0eeaa9180bd2e10a231964f33743edf
"net: Allow class-e address assignment via ifconfig ioctl"
6926e041a8920c8ec27e4e155efa760aa01551fd
"uapi/if_ether.h: prevent redefinition of struct ethhdr"
Dave Taht (1):
net: Allow class-e address assignment via ifconfig ioctl
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
Hauke Mehrtens (1):
uapi/if_ether.h: prevent redefinition of struct ethhdr
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_ether.h | 3 +
include/uapi/linux/if_link.h | 1 +
include/uapi/linux/in.h | 10 +++-
include/uapi/linux/libc-compat.h | 6 ++
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/devinet.c | 5 +-
net/ipv4/ipconfig.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 +--
27 files changed, 235 insertions(+), 122 deletions(-)
--
2.20.1
Guten Tag,
Es freut uns, Ihnen mitzuteilen, dass dieses erfolgreiche Werkzeug der kostenlosen Reklame den ganzen heutigen Tag für Sie zum Angebotspreis von 149 EUR erhältlich ist.
Zurzeit ist es die schnellste mögliche Form der Kundengewinnung.
***
1. Schweiz 2019 ( 187 911 ) - 149 EUR ( bis zum 14.02.2019 )
***
Das Branchenverzeichnis sowie die Datenproben können Sie auf unserer Webseite finden:
http://www.topcontact-ch.net/?p=1
MfG
Peter Winkler
Hi Greg,
I recently sifted through the OpenWrt stack of backports to v4.9 and
made a list of upstream commits that exist in their kernel but are not
in the stable tree for v4.9.
Out of 104 patches I classified:
Number backported from later kernels that should possibly/probably go
into stable: 17
Backported from later kernels to gain performance: 13
Backported because of new hardware support or convinent new
frameworks: 74
The performance commits are a bit inbetween: if they fix a performance
regression they should go upstream whereas if they are just there to
speed up the devices using OpenWrt it's fine as distribution "icing" (IMO).
The HW support and framework enhancements are clearly just a
distribution add-on and not regressions. I left them out for now so we
can focus on the most important stuff.
Here is the list I think you could consider for cherry-picking to stable
v4.9 and where applicable also to later stable kernels (giving the
OpenWrt maintainers and patch authors some day(s) to comment):
Multicast to unicast:
021-bridge-multicast-to-unicast.patch
Upstream commit 6db6f0eae6052b70885562e1733896647ec1d807
"bridge: multicast to unicast"
Merged in v4.11
A series dealing with cloned SKBs:
023-1-smsc95xx-Use-skb_cow_head-to-deal-with-cloned-skbs.patch
023-6-ch9200-use-skb_cow_head-to-deal-with-cloned-skbs.patch
023-7-kaweth-use-skb_cow_head-to-deal-with-cloned-skbs.patch
Upstream committs
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"
Merged in v4.11
Adjustable dirty writeback intervals for UBIFS:
030-01-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch
030-02-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch
Upstream commits
854826c9d526fd81077742c3b000e3f7fcaef3ce
"ubifs: Drop softlimit and delta fields from struct ubifs_wbuf"
1b7fc2c0069f3864a3dda15430b7aded31c0bfcc
"ubifs: Use dirty_writeback_interval value for wbuf timer"
Merged in v4.10
Dangling kfree on errorpath:
050-usb-dwc2-Remove-unnecessary-kfree.patch
Upstream commit cd4b1e34655d46950c065d9284b596cd8d7b28cd
"usb: dwc2: Remove unnecessary kfree"
Merged in v4.10
nf_tables fix for BE systems:
092-netfilter-nf_tables-fix-mismatch-in-big-endian-syste.patch
Upstream commit 10596608c4d62cb8c1c2b806debcbd32fe657e71
"netfilter: nf_tables: fix mismatch in big-endian system"
Merged in v4.11
Userspace break for Class E address assignment.
This looks like it should DEFINATELY go into stable:
095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch
Upstream commit 65cab850f0eeaa9180bd2e10a231964f33743edf
"net: Allow class-e address assignment via ifconfig ioctl"
Merged in v4.20
PCI breakage on cns3xxx:
100-arm-cns3xxx-fix-writing-to-wrong-PCI-registers-after.patch
101-arm-cns3xxx-use-actual-size-reads-for-PCIe.patch
Upstream commits
65dbb423cf28232fed1732b779249d6164c5999b
"ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment"
432dd7064aa1c030a488745917cfa4ebc6c8c060
"ARM: cns3xxx: Use actual size reads for PCIe"
Merged in v5.0-rc5
UAPI bug on if_ether.h
definately looks like stable material:
272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch
Upstream commit 6926e041a8920c8ec27e4e155efa760aa01551fd
"uapi/if_ether.h: prevent redefinition of struct ethhdr"
Merged in v4.15
I would consider these ONLY if the authors greenlight them,
as they seem to have been fixed after fixing:
Preserve link scope:
096-v4.20-netfilter-ipv6-Preserve-link-scope-traffic-original-.patch
Upstream commit 508b09046c0f21678652fb66fd1e9959d55591d2
"netfilter: ipv6: Preserve link scope traffic original oif"
Merged in v4.20
Fix seems to have been dangerous and to also require:
commit 15df03c661cb362366ecfc3a21820cb934f3e4ca
"netfilter: ipv6: Don't preserve original oif for loopback address"
Merged in v5.0-rc6
Tunnel encapsulation fixes:
094-v4.12-0001-ip6_tunnel-Fix-missing-tunnel-encapsulation-limit-op.patch
094-v4.12-0002-ipv6-Need-to-export-ipv6_push_frag_opts-for-tunnelin.patch
Upstream commits
89a23c8b528bd2c89f3981573d6cd7d23840c8a6
"ip6_tunnel: Fix missing tunnel encapsulation limit option"
5b8481fa42ac58484d633b558579e302aead64c1
"ipv6: Need to export ipv6_push_frag_opts for tunneling now."
Which then seems to be further fixed in
commit d4d576f5ab7edcb757bb33e6a5600666a0b1232d
"ip6_tunnel: Fix encapsulation layout"
Yours,
Linus Walleij
This is a note to let you know that I've just added the patch titled
staging: erofs: fix memleak of inode's shared xattr array
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the staging-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 3b1b5291f79d040d549d7c746669fc30e8045b9b Mon Sep 17 00:00:00 2001
From: Sheng Yong <shengyong1(a)huawei.com>
Date: Thu, 14 Feb 2019 14:46:36 +0800
Subject: staging: erofs: fix memleak of inode's shared xattr array
If it fails to read a shared xattr page, the inode's shared xattr array
is not freed. The next time the inode's xattr is accessed, the previously
allocated array is leaked.
Signed-off-by: Sheng Yong <shengyong1(a)huawei.com>
Fixes: b17500a0fdba ("staging: erofs: introduce xattr & acl support")
Cc: <stable(a)vger.kernel.org> # 4.19+
Reviewed-by: Gao Xiang <gaoxiang25(a)huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/staging/erofs/xattr.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/erofs/xattr.c b/drivers/staging/erofs/xattr.c
index e748df8d2b44..8c48b0ab31fd 100644
--- a/drivers/staging/erofs/xattr.c
+++ b/drivers/staging/erofs/xattr.c
@@ -111,8 +111,11 @@ static int init_inode_xattrs(struct inode *inode)
it.page = erofs_get_meta_page(sb,
++it.blkaddr, S_ISDIR(inode->i_mode));
- if (IS_ERR(it.page))
+ if (IS_ERR(it.page)) {
+ kfree(vi->xattr_shared_xattrs);
+ vi->xattr_shared_xattrs = NULL;
return PTR_ERR(it.page);
+ }
it.kaddr = kmap_atomic(it.page);
atomic_map = true;
--
2.20.1
It is reported that there's a constant background "hum/whitenoise"
in the headset on the Lenovo X1 machines with the codec alc285, and it
is confirmed that if we run the command below, the noise will stop.
sudo hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0
Then I consulted this issue with Kailang, he told me the pin 0x1d on
this codec is used for PC beep in, the noise probably comes from this
pin and we can also disable the PC beep in passthrough, then the PC
beep in will not affect other sound playback.
Fixes: c4cfcf6f4297 ("ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops")
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1660581
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Kailang Yang <kailang(a)realtek.com>
Signed-off-by: Hui Wang <hui.wang(a)canonical.com>
---
sound/pci/hda/patch_realtek.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index ba3d4bee7f85..6cd8d392106f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5662,6 +5662,7 @@ enum {
ALC294_FIXUP_ASUS_SPK,
ALC225_FIXUP_HEADSET_JACK,
ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE,
+ ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
};
static const struct hda_fixup alc269_fixups[] = {
@@ -6617,6 +6618,17 @@ static const struct hda_fixup alc269_fixups[] = {
.chained = true,
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
},
+ [ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE] = {
+ .type = HDA_FIXUP_VERBS,
+ .v.verbs = (const struct hda_verb[]) {
+ /* Disable PCBEEP-IN passthrough */
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x36 },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0x57d7 },
+ { }
+ },
+ .chained = true,
+ .chain_id = ALC285_FIXUP_LENOVO_HEADPHONE_NOISE
+ },
};
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7302,7 +7314,7 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
{0x12, 0x90a60130},
{0x19, 0x03a11020},
{0x21, 0x0321101f}),
- SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_HEADPHONE_NOISE,
+ SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
{0x12, 0x90a60130},
{0x14, 0x90170110},
{0x19, 0x04a11040},
--
2.17.1