diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-11-29 17:12:15 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-12-01 15:40:22 +0300 |
commit | 88d64367cea019fa6197d0d97a85ac90279919b7 (patch) | |
tree | 5037ff40f128bf2ee1810204f3469585c72f0cc6 /tools/perf/scripts/python/stackcollapse.py | |
parent | 02d61948e8daf3844d0af41ba5d563ef03cc7c4f (diff) | |
download | linux-88d64367cea019fa6197d0d97a85ac90279919b7.tar.xz |
net: dpaa2-switch: assign port_priv->mac after dpaa2_mac_connect() call
The dpaa2-switch has the exact same locking requirements when connected
to a DPMAC, so it needs port_priv->mac to always point either to NULL,
or to a DPMAC with a fully initialized phylink instance.
Make the same preparatory change in the dpaa2-switch driver as in the
dpaa2-eth one.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions