android_kernel_oneplus_msm8998/net/rmnet_data
Ashwanth Goli d4ee8914bf net: rmnet_data: Unset logical end points in bridge mode
We clean up the logical end points only for the un-registering device
in bridge mode. However, the other physical end point's local end
point still points to the the un-registered device.

This may lead up to a crash if one of the physical devices in bridge
mode is un-registered. Fix this by unsetting the local endpoint.

It is still possible that packets in a different context across cores
might try to access this data. This usually manifests as packets
requesting a very large headroom. Handle this by dropping these stale
skb's.

CRs-Fixed: 1098513
Change-Id: I1ba4d877a6ed3eca66946fe056938f0927bcd9a5
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
2017-05-19 21:08:49 +05:30
..
Kconfig RmNet Data: Initial release 2016-03-22 11:04:54 -07:00
Makefile net: rmnet_data: Add support for ftrace events 2016-03-22 11:05:09 -07:00
rmnet_data_config.c net: rmnet_data: Unset logical end points in bridge mode 2017-05-19 21:08:49 +05:30
rmnet_data_config.h net: rmnet_data: Add support to configure custom device name 2017-03-22 12:55:20 -06:00
rmnet_data_handlers.c net: rmnet_data: Unset logical end points in bridge mode 2017-05-19 21:08:49 +05:30
rmnet_data_handlers.h RmNet Data: Initial release 2016-03-22 11:04:54 -07:00
rmnet_data_main.c net: rmnet_data: Add support for ftrace events 2016-03-22 11:05:09 -07:00
rmnet_data_private.h net: rmnet_data: Add default value for tx_queue_len 2016-03-22 11:05:07 -07:00
rmnet_data_stats.c net: rmnet_data: Define the skb recycle handler for transports 2016-09-12 14:05:12 -06:00
rmnet_data_stats.h net: rmnet_data: Fix use after free when sending MAP command ACK 2016-05-26 15:30:13 -07:00
rmnet_data_trace.h net: rmnet_data: Change the print format for addresses 2016-04-28 16:47:34 -07:00
rmnet_data_vnd.c net: rmnet_data: Add support to configure custom device name 2017-03-22 12:55:20 -06:00
rmnet_data_vnd.h net: rmnet_data: Add support to configure custom device name 2017-03-22 12:55:20 -06:00
rmnet_map.h net: rmnet_data: Define the skb recycle handler for transports 2016-09-12 14:05:12 -06:00
rmnet_map_command.c rmnet_data: queue QMAP control packets if start_xmit fails 2016-12-06 15:37:32 -08:00
rmnet_map_data.c net: rmnet_data: Define the skb recycle handler for transports 2016-09-12 14:05:12 -06:00