openwrtv3/target/linux/generic
Kevin Darbyshire-Bryant d600de3ddd 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>
2018-06-18 15:27:15 +02:00
..
backport-4.9 kernel: bump 4.9 to 4.9.108 2018-06-18 07:10:19 +02:00
backport-4.14 kernel: atm: pppoatm fix vc-mux connection failures 2018-06-18 15:27:15 +02:00
files kernel: add reset control support to rtl8366 driver 2018-05-24 15:43:39 +02:00
hack-4.9 kernel: bump 4.9 to 4.9.108 2018-06-18 07:10:19 +02:00
hack-4.14 kernel: avoid flow offload for connections with xfrm on the dst entry (should fix IPSec) 2018-06-13 12:54:25 +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: Add support spi-nor, Eon EN25QH32 2018-05-21 18:07:47 +02:00
pending-4.4 kernel: Add support spi-nor, Eon EN25QH32 2018-05-21 18:07:47 +02:00
pending-4.9 kernel: bump 4.9 to 4.9.106 2018-06-07 09:04:46 +02:00
pending-4.14 kernel: bump 4.14 to 4.14.49 2018-06-18 07:10:19 +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.100 2018-05-18 09:10:21 +02:00
config-4.14 kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00