diff options
| author | Andre Edich <andre.edich@microchip.com> | 2020-07-06 10:39:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 09:10:02 +0200 |
| commit | e41001c75d1f9e4a1168bde3df32196a530b3bbb (patch) | |
| tree | 231c7086cee12316df43ba5154c7db395f0be919 /scripts/objdiff | |
| parent | 1bced00f921de7a971f29b78a6d4b26126ccfba6 (diff) | |
smsc95xx: avoid memory leak in smsc95xx_bind
[ Upstream commit 3ed58f96a70b85ef646d5427258f677f1395b62f ]
In a case where the ID_REV register read is failed, the memory for a
private data structure has to be freed before returning error from the
function smsc95xx_bind.
Fixes: bbd9f9ee69242 ("smsc95xx: add wol support for more frame types")
Signed-off-by: Andre Edich <andre.edich@microchip.com>
Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
