diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-02-24 16:18:41 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-25 09:45:01 -0800 |
commit | 4dc7f09b8becfa35a55430a49d95acf19f996e6b (patch) | |
tree | 62ec44d63416c1c6cf0d95c7397bfcf631d09ea0 /drivers/scsi/bnx2fc/bnx2fc_tgt.c | |
parent | f176411401127a07a9360dec14eca448eb2e9d45 (diff) |
net: broadcom: bcm4908_enet: fix RX path possible mem leak
After filling RX ring slot with new skb it's required to free old skb.
Immediately on error or later in the net subsystem.
Fixes: 4feffeadbcb2 ("net: broadcom: bcm4908enet: add BCM4908 controller driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210224151842.2419-1-zajec5@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_tgt.c')
0 files changed, 0 insertions, 0 deletions