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
Makefile
qrtr.c
qrtr.h
smd.c
tun.c