Revision 063a932b64db3317ec020c94466fe52923a15f60 authored by Zhang Changzhong on 04 December 2022, 06:09:08 UTC, committed by Paolo Abeni on 07 December 2022, 10:45:52 UTC
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 <zhangchangzhong@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/1670134149-29516-1-git-send-email-zhangchangzhong@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 8895617
File | Mode | Size |
---|---|---|
Makefile.arch | -rw-r--r-- | 1.1 KB |
Makefile.include | -rw-r--r-- | 5.8 KB |
utilities.mak | -rw-r--r-- | 5.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...