commit | 45e7e4e66b08984dd3fce1a7a16f6487bbb1bbf6 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Tue Aug 06 10:55:12 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 29 08:28:42 2019 +0200 |
tree | 06425dceea03407bb719a48b03aeea1786b343a5 | |
parent | db106f695414144d3cc1de97c7e601eecdb48ae8 [diff] |
net: cxgb3_main: Fix a resource leak in a error path in 'init_one()' [ Upstream commit debea2cd3193ac868289e8893c3a719c265b0612 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>