diff options
| author | Leon Romanovsky <[email protected]> | 2022-10-20 05:28:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-10-24 09:29:14 +0000 |
| commit | f8127476930b98fc9e9aa5de0bbf9eeaf45db219 (patch) | |
| tree | c2b324569c5d5139c9eef152dc1a4a6b4d43184c /net/lapb/lapb_in.c | |
| parent | atlantic: fix deadlock at aq_nic_stop (diff) | |
| download | kernel-f8127476930b98fc9e9aa5de0bbf9eeaf45db219.tar.gz kernel-f8127476930b98fc9e9aa5de0bbf9eeaf45db219.zip | |
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 <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
