summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpaa
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2022-10-20 08:28:28 +0300
committerDavid S. Miller <davem@davemloft.net>2022-10-24 12:29:14 +0300
commitf8127476930b98fc9e9aa5de0bbf9eeaf45db219 (patch)
treec2b324569c5d5139c9eef152dc1a4a6b4d43184c /drivers/net/ethernet/freescale/dpaa
parent6960d133f66ecddcd3af2b1cbd0c7dcd104268b8 (diff)
downloadlinux-f8127476930b98fc9e9aa5de0bbf9eeaf45db219.tar.xz
net/mlx5e: Cleanup MACsec uninitialization routine
The mlx5e_macsec_cleanup() routine has NULL pointer dereferencing if mlx5 device doesn't support MACsec (priv->macsec will be NULL). While at it delete comment line, assignment and extra blank lines, so fix everything in one patch. Fixes: 1f53da676439 ("net/mlx5e: Create advanced steering operation (ASO) object for MACsec") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa')
0 files changed, 0 insertions, 0 deletions