diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-08-06 10:55:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-06 11:34:23 -0700 |
commit | debea2cd3193ac868289e8893c3a719c265b0612 (patch) | |
tree | beb750f62b8f14506b9f6e11f474b8f4831c148f /drivers/net/ethernet/emulex/benet | |
parent | net: ethernet: sun4i-emac: Support phy-handle property for finding PHYs (diff) | |
download | linux-dev-debea2cd3193ac868289e8893c3a719c265b0612.tar.xz linux-dev-debea2cd3193ac868289e8893c3a719c265b0612.zip |
net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
A call to 'kfree_skb()' is missing in the error handling path of
'init_one()'.
This is already present in 'remove_one()' but is missing here.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet')
0 files changed, 0 insertions, 0 deletions