OpenCloudOS-Kernel/drivers/net/ppp
Ross Lagerwall 6c57f04580 net: Fix usage of pskb_trim_rcsum
In certain cases, pskb_trim_rcsum() may change skb pointers.
Reinitialize header pointers afterwards to avoid potential
use-after-frees. Add a note in the documentation of
pskb_trim_rcsum(). Found by KASAN.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-18 14:05:14 -08:00
..
Kconfig tty/serial patches for 3.9-rc1 2013-02-21 13:41:04 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bsd_comp.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
ppp_async.c ppp: Move PFC decompression to PPP generic layer 2018-12-20 16:49:30 -08:00
ppp_deflate.c ppp: deflate: never return len larger than output buffer 2015-01-29 14:50:01 -08:00
ppp_generic.c ppp: Move PFC decompression to PPP generic layer 2018-12-20 16:49:30 -08:00
ppp_mppe.c ppp: mppe: Remove VLA usage of skcipher 2018-09-28 12:46:07 +08:00
ppp_mppe.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ppp_synctty.c ppp: Move PFC decompression to PPP generic layer 2018-12-20 16:49:30 -08:00
pppoe.c net: Fix usage of pskb_trim_rcsum 2019-01-18 14:05:14 -08:00
pppox.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
pptp.c ppp: Move PFC decompression to PPP generic layer 2018-12-20 16:49:30 -08:00