diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2018-06-04 19:43:38 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-05 10:17:05 -0400 |
commit | 3602207ca6582dd359308b7bd2ce08348cc0854e (patch) | |
tree | 08e0f5eec871e222f37de34825113408049d27d8 /samples/hw_breakpoint/Makefile | |
parent | 9deb441c113ae9e761e42f78d90736d762ff49a3 (diff) |
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: ceed73a2cf4a ("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>
Diffstat (limited to 'samples/hw_breakpoint/Makefile')
0 files changed, 0 insertions, 0 deletions