linux_old1/drivers/net/ethernet/qualcomm/rmnet
Subash Abhinov Kasiviswanathan 3602207ca6 net: qualcomm: rmnet: Fix use after free while sending command ack
When sending an ack to a command packet, the skb is still referenced
after it is sent to the real device. Since the real device could
free the skb, the device pointer would be invalid.
Also, remove an unnecessary variable.

Fixes: ceed73a2cf ("drivers: net: ethernet: qualcomm: rmnet: Initial implementation")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-05 10:17:05 -04:00
..
Kconfig net: qualcomm: rmnet: Add support for GRO 2017-10-28 00:10:23 +09:00
Makefile
rmnet_config.c net: qualcomm: rmnet: Fix warning seen with fill_info 2018-04-18 21:23:06 -04:00
rmnet_config.h net: qualcomm: rmnet: Add support for ethtool private stats 2018-05-16 14:23:04 -04:00
rmnet_handlers.c net: qualcomm: rmnet: Capture all drops in transmit path 2018-05-16 14:23:04 -04:00
rmnet_handlers.h net: qualcomm: rmnet: Remove duplicate setting of rmnet private info 2017-10-11 20:05:30 -07:00
rmnet_map.h net: qualcomm: rmnet: Update copyright year to 2018 2018-03-22 15:00:44 -04:00
rmnet_map_command.c net: qualcomm: rmnet: Fix use after free while sending command ack 2018-06-05 10:17:05 -04:00
rmnet_map_data.c net: qualcomm: rmnet: Add support for ethtool private stats 2018-05-16 14:23:04 -04:00
rmnet_private.h net: qualcomm: rmnet: Export mux_id and flags to netlink 2018-03-22 15:00:44 -04:00
rmnet_vnd.c net: ipv6: Generate random IID for addresses on RAWIP devices 2018-06-05 10:16:25 -04:00
rmnet_vnd.h net: qualcomm: rmnet: Convert the muxed endpoint to hlist 2017-10-11 20:05:30 -07:00