summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2017-09-14 21:17:44 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-09-20 15:44:44 +0300
commit519ce2f933fa14acf69d5c8cabcc18711943d629 (patch)
tree4edd6a03091f78415212d2bc49493041419e3ef5 /include
parent0f61953dd0f5fbed6ac833f58dc590293b7569b0 (diff)
downloadlinux-519ce2f933fa14acf69d5c8cabcc18711943d629.tar.xz
rtlwifi: rtl8192ee: Fix memory leak when loading firmware
In routine rtl92ee_set_fw_rsvdpagepkt(), the driver allocates an skb, but never calls rtl_cmd_send_packet(), which will free the buffer. All other rtlwifi drivers perform this operation correctly. This problem has been in the driver since it was included in the kernel. Fortunately, each firmware load only leaks 4 buffers, which likely explains why it has not previously been detected. Cc: Stable <stable@vger.kernel.org> # 3.18+ Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions