linux_old1/drivers/net/ethernet/qualcomm
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
..
emac net: qcom/emac: fix device tree initialization 2018-05-29 10:06:15 -04:00
rmnet net: qualcomm: rmnet: Fix use after free while sending command ack 2018-06-05 10:17:05 -04:00
Kconfig drivers: net: ethernet: qualcomm: rmnet: Initial implementation 2017-08-30 11:41:13 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qca_7k.c net: qualcomm: move qcaspi_tx_cmd to qca_spi.c 2017-05-30 13:57:29 -04:00
qca_7k.h net: qualcomm: move qcaspi_tx_cmd to qca_spi.c 2017-05-30 13:57:29 -04:00
qca_7k_common.c net: qualcomm: make qca_7k_common a separate kernel module 2017-05-30 13:57:30 -04:00
qca_7k_common.h net: qualcomm: add QCA7000 UART driver 2017-05-30 13:57:32 -04:00
qca_debug.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
qca_debug.h
qca_spi.c net: drivers/net: Remove unnecessary skb_copy_expand OOM messages 2018-03-15 14:28:03 -04:00
qca_spi.h net: qualcomm: rename qca_framing.c to qca_7k_common.c 2017-05-30 13:57:30 -04:00
qca_uart.c net: qualcomm: add QCA7000 UART driver 2017-05-30 13:57:32 -04:00