android_kernel_oneplus_msm8998/drivers/net/ppp
Tejaswi Tanikella 0560cec7c7 pppolac: pull udp header before sock enqueue
pppolac driver incorrectly enqueues the packet into the sock queue
without pulling UDP headers. The application will receive data along
with UDP header when L2TP control packets are received.

The issue was introduced after moving UDP header removal functionality
from process rcvmesg context to BH context.

Instead of pppolac driver directly queuing L2TP control packets into
socket queue, return packet to udp_queue_rcv_skb, which will deliver the
packet to the application after pulling the UDP header.

Fixes: e6afc8ace ("udp: remove headers from UDP packets before queueing")

Change-Id: Icfa0fd8da43ea9c14fa7c718746a6529651ac202
Signed-off-by: Tejaswi Tanikella <tejaswit@codeaurora.org>
Signed-off-by: Chinmay Agarwal <chinagar@codeaurora.org>
Acked-by: Sharath Chandra Vurukala <sharathv@qti.qualcomm.com>
2018-12-26 07:58:34 +01:00
..
bsd_comp.c
Kconfig net: ppp: Fix modular build for PPPOLAC and PPPOPNS 2016-03-02 19:23:07 +00:00
Makefile net: add PPP on PPTP Network Server (PPPoPNS) driver. 2016-02-16 13:51:18 -08:00
ppp_async.c
ppp_deflate.c ppp: deflate: never return len larger than output buffer 2015-01-29 14:50:01 -08:00
ppp_generic.c ppp: prevent unregistered channels from connecting to PPP units 2018-03-11 16:19:46 +01:00
ppp_mppe.c ppp: mppe: discard late packet in stateless mode 2015-04-26 23:25:13 -04:00
ppp_mppe.h
ppp_synctty.c
pppoe.c pppoe: check sockaddr length in pppoe_connect() 2018-04-29 07:50:05 +02:00
pppolac.c pppolac: pull udp header before sock enqueue 2018-12-26 07:58:34 +01:00
pppopns.c net: pppolac/pppopns: Add back the msg_flags 2017-05-01 17:54:49 +00:00
pppox.c net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
pptp.c pptp: remove a buggy dst release in pptp_connect() 2018-04-13 19:50:25 +02:00