diff options
author | Somnath Kotur | 2021-06-18 02:07:27 -0400 |
---|---|---|
committer | David S. Miller | 2021-06-18 12:00:27 -0700 |
commit | 03400aaa69f916a376e11526cf591901a96a3a5c (patch) | |
tree | f753c97bd022f5ff4842a25b0d8e66088c79c612 /fs/pnode.c | |
parent | c12e1643d2738bcd4e26252ce531878841dd3f38 (diff) |
bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
bnxt_ethtool_init() may have allocated some memory and we need to
call bnxt_ethtool_free() to properly unwind if bnxt_init_one()
fails.
Fixes: 7c3809181468 ("bnxt_en: Refactor bnxt_init_one() and turn on TPA support on 57500 chips.")
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions