linux/drivers/net/ethernet/broadcom/bnxt
Sathya Perla 70855603e0 bnxt_en: fix clearing devlink ptr from bnxt struct
The routine bnxt_link_bp_to_dl() is used to set the devlink ptr
in bnxt struct (bp) and also to set the bnxt back ptr in
the devlink struct.  If devlink_register() fails, bp->dl must
be cleared which is not happening currently. This patch fixes
bnxt_link_bp_to_dl() to clear bp->dl by passing  a NULL dl ptr.

Fixes: 4ab0c6a8ff ("bnxt_en: add support to enable VF-representors")
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-28 16:57:10 -07:00
..
Makefile bnxt_en: add support to enable VF-representors 2017-07-24 17:29:58 -07:00
bnxt.c bnxt_en: Reduce default rings on multi-port cards. 2017-08-28 16:57:10 -07:00
bnxt.h bnxt_en: Reduce default rings on multi-port cards. 2017-08-28 16:57:10 -07:00
bnxt_dcb.c bnxt_en: Set ETS min_bw parameter for older firmware. 2017-07-24 17:29:58 -07:00
bnxt_dcb.h bnxt_en: Set ETS min_bw parameter for older firmware. 2017-07-24 17:29:58 -07:00
bnxt_ethtool.c bnxt_en: Improve tx ring reservation logic. 2017-08-28 16:57:09 -07:00
bnxt_ethtool.h bnxt_en: Add basic ethtool -t selftest support. 2017-04-05 06:24:26 -07:00
bnxt_fw_hdr.h bnxt_en: Added support for Secure Firmware Update 2016-09-19 21:32:24 -04:00
bnxt_hsi.h bnxt_en: Update firmware interface spec. to 1.8.1.4. 2017-08-28 16:57:09 -07:00
bnxt_nvm_defs.h bnxt_en: Add support for updating flash more securely 2016-07-02 14:52:35 -04:00
bnxt_sriov.c bnxt_en: add support to enable VF-representors 2017-07-24 17:29:58 -07:00
bnxt_sriov.h bnxt_en: Update firmware interface spec to 1.7.6.2. 2017-04-05 06:24:26 -07:00
bnxt_ulp.c bnxt_en: Add a callback to inform RDMA driver during PCI shutdown. 2017-05-30 18:14:07 -04:00
bnxt_ulp.h bnxt_en: Add a callback to inform RDMA driver during PCI shutdown. 2017-05-30 18:14:07 -04:00
bnxt_vfr.c bnxt_en: fix clearing devlink ptr from bnxt struct 2017-08-28 16:57:10 -07:00
bnxt_vfr.h bnxt_en: fix clearing devlink ptr from bnxt struct 2017-08-28 16:57:10 -07:00
bnxt_xdp.c bnxt_en: Improve tx ring reservation logic. 2017-08-28 16:57:09 -07:00
bnxt_xdp.h bnxt_en: Add ethtool mac loopback self test. 2017-04-05 06:24:26 -07:00