diff options
author | Yuan Can <yuancan@huawei.com> | 2022-11-21 03:32:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-23 12:43:14 +0000 |
commit | bac81f40c2c1484a2bd416b3fbf983f6e76488cd (patch) | |
tree | a0cb27d0a90f678db1b1582024babe5be0d03b5f /net/atm/lec.c | |
parent | 1c40cde6b5171d9c8dfc69be00464fd1c75e210b (diff) | |
download | linux-bac81f40c2c1484a2bd416b3fbf983f6e76488cd.tar.bz2 |
net: dm9051: Fix missing dev_kfree_skb() in dm9051_loop_rx()
The dm9051_loop_rx() returns without release skb when dm9051_stop_mrcmd()
returns error, free the skb to avoid this leak.
Fixes: 2dc95a4d30ed ("net: Add dm9051 driver")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/lec.c')
0 files changed, 0 insertions, 0 deletions