summaryrefslogtreecommitdiff
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorZhang Changzhong <zhangchangzhong@huawei.com>2022-11-17 19:36:03 +0800
committerKalle Valo <kvalo@kernel.org>2022-12-22 18:05:57 +0200
commitdeb962ec9e1c9a81babd3d37542ad4bd6ac3396e (patch)
treeb2762da49157b741b0a291385e373fd14f3dd451 /crypto/lrw.c
parent9fe21dc626117fb44a8eb393713a86a620128ce3 (diff)
wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
The wilc_mac_xmit() returns NETDEV_TX_OK without freeing skb, add dev_kfree_skb() to fix it. Compile tested only. Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver") Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/1668684964-48622-1-git-send-email-zhangchangzhong@huawei.com
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions