openwrt/target/linux/generic
Kevin Darbyshire-Bryant 8af649756f kernel: atm: pppoatm fix vc-mux connection failures
Backport a hot off the press upstream kernel ATM fix:

Preserve value of skb->truesize when accounting to vcc

"There's a hack in pskb_expand_head() to avoid adjusting skb->truesize
for certain skbs. Ideally it would cover ATM too. It doesn't. Just
stashing the accounted value and using it in atm_raw_pop() is probably
the easiest way to cope."

The issue was exposed by upstream with:

commit 14afee4b6092fde451ee17604e5f5c89da33e71e
Author: Reshetova, Elena <elena.reshetova@intel.com>
Date:   Fri Jun 30 13:08:00 2017 +0300

    net: convert sock.sk_wmem_alloc from atomic_t to refcount_t

But an earlier commit left the ticking timebomb:

158f323b9868 ("net: adjust skb->truesize in pskb_expand_head()

Sincerest thanks to Mathias Kresin <dev@kresin.me> for debugging
assistance and to David Woodhouse <dwmw2@infradead.org> for further
guidance, cajoling & patience in interpreting the debug I was giving him
and producing a fix!

Fixes FS#1567

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit d600de3ddd)
2018-06-18 21:29:34 +02:00
..
backport-4.9 kernel: bump 4.9 to 4.9.108 for 18.06 2018-06-18 06:42:18 +02:00
backport-4.14 kernel: atm: pppoatm fix vc-mux connection failures 2018-06-18 21:29:34 +02:00
files kernel: rtl8366_smi: guard of_mdiobus_register() call 2018-05-11 15:07:56 +02:00
hack-4.9 kernel: bump 4.9 to 4.9.108 for 18.06 2018-06-18 06:42:18 +02:00
hack-4.14 kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 kernel: use upstream patches for musl 2018-01-20 22:11:33 +01:00
pending-4.4 kernel: use accepted version of bcm47xxpart fix commit 2018-05-12 23:53:44 +02:00
pending-4.9 mips: fix dynamic ftrace 2018-06-18 21:21:56 +02:00
pending-4.14 kernel: bump 4.14 to 4.14.49 for 18.06 2018-06-18 06:42:29 +02:00
config-3.18 kernel: Restrict dmesg output to root. 2018-04-30 09:01:33 +02:00
config-4.4 kernel: Restrict dmesg output to root. 2018-04-30 09:01:33 +02:00
config-4.9 kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
config-4.14 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00