linux/drivers/net/ethernet/freescale/dpaa2
Ioana Ciornei d1a9b84183 dpaa2-switch: check if the port priv is valid
Before accessing the port private structure make sure that there is
still a non-NULL pointer there. A NULL pointer access can happen when we
are on the remove path, some switch ports are unregistered and some are
in the process of unregistering.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-06 19:49:10 -08:00
..
dpaa2-eth-dcb.c dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c 2020-09-01 13:23:47 -07:00
dpaa2-eth-debugfs.c dpaa2-eth: name the debugfs directory after the DPNI object 2021-05-21 14:05:04 -07:00
dpaa2-eth-debugfs.h
dpaa2-eth-devlink.c dpaa2-eth: Register devlink instance at the end of probe 2021-09-27 16:31:59 +01:00
dpaa2-eth-trace.h dpaa2-eth: fix recursive header include 2020-06-25 16:03:39 -07:00
dpaa2-eth.c bpf: Let bpf_warn_invalid_xdp_action() report more info 2021-12-13 22:28:27 +01:00
dpaa2-eth.h dpaa2-eth: fix ethtool statistics 2021-12-15 17:48:54 -08:00
dpaa2-ethtool.c dpaa2-eth: fix ethtool statistics 2021-12-15 17:48:54 -08:00
dpaa2-mac.c dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set 2022-01-06 19:49:10 -08:00
dpaa2-mac.h net: phy: lynx: refactor Lynx PCS module to use generic phylink_pcs 2022-01-02 18:48:47 +00:00
dpaa2-ptp.c dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-switch-ethtool.c dpaa2-switch: export MAC statistics in ethtool 2021-08-04 09:53:34 +01:00
dpaa2-switch-flower.c dpaa2-switch: offload shared block mirror filters when binding to a port 2021-07-29 21:34:45 +01:00
dpaa2-switch.c dpaa2-switch: check if the port priv is valid 2022-01-06 19:49:10 -08:00
dpaa2-switch.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
dpkg.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpmac-cmd.h dpaa2-eth: fix a build warning in dpmac.c 2020-09-18 14:36:00 -07:00
dpmac.c
dpmac.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpni-cmd.h dpaa2-eth: add support for Rx VLAN filtering 2021-01-13 19:20:55 -08:00
dpni.c dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpni.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dprtc-cmd.h
dprtc.c
dprtc.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpsw-cmd.h dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.c dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
Kconfig staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
Makefile dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00