Skip to content
Commit debea2cd authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c4e2e1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment