kernel-fxtec-pro1x/net/qrtr
Navid Emamdoost 754e3c0c31 net: qrtr: fix memort leak in qrtr_tun_write_iter
commit a21b7f0cff1906a93a0130b74713b15a0b36481d upstream.

In qrtr_tun_write_iter the allocated kbuf should be release in case of
error or success return.

v2 Update: Thanks to David Miller for pointing out the release on success
path as well.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-13 08:52:58 +01:00
..
Kconfig net: qrtr: Expose tunneling endpoint to user space 2018-04-27 15:06:10 -04:00
Makefile net: qrtr: Expose tunneling endpoint to user space 2018-04-27 15:06:10 -04:00
qrtr.c net: qrtr: Stop rx_worker before freeing node 2019-10-05 13:09:27 +02:00
qrtr.h
smd.c qrtr: add MODULE_ALIAS macro to smd 2018-02-26 15:07:04 -05:00
tun.c net: qrtr: fix memort leak in qrtr_tun_write_iter 2019-12-13 08:52:58 +01:00