aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorZhang Changzhong <[email protected]>2022-12-04 14:09:08 +0800
committerPaolo Abeni <[email protected]>2022-12-07 11:45:52 +0100
commit063a932b64db3317ec020c94466fe52923a15f60 (patch)
tree55d2bac8fa5c43b8251a9f9e6e52fb6cb3746ad7 /lib/mpi/mpi-sub-ui.c
parent88956177db179e4eba7cd590971961857d1565b8 (diff)
ethernet: aeroflex: fix potential skb leak in greth_init_rings()
The greth_init_rings() function won't free the newly allocated skb when dma_mapping_error() returns error, so add dev_kfree_skb() to fix it. Compile tested only. Fixes: d4c41139df6e ("net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver") Signed-off-by: Zhang Changzhong <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions