]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: gemini: fix memory leak
authorIgor Pylypiv <igor.pylypiv@gmail.com>
Mon, 19 Mar 2018 06:40:51 +0000 (23:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2018 16:08:45 +0000 (12:08 -0400)
commit44caebd368a5174f8aa7b80076350385eb2c2f42
tree5beb0c858cf8b29d21757a2bb0d853baacfa353f
parent00777fac28ba3e126b9e63e789a613e8bd2cab25
net: gemini: fix memory leak

cppcheck report:
[drivers/net/ethernet/cortina/gemini.c:543]: (error) Memory leak: skb_tab

Signed-off-by: Igor Pylypiv <igor.pylypiv@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cortina/gemini.c