diff options
| author | Wojciech Drewek <[email protected]> | 2023-07-12 11:03:28 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2023-07-24 15:52:43 +0000 |
| commit | 7aa529a69e92b9aff585e569d5003f7c15d8d60b (patch) | |
| tree | cb44ff3a3ba3a6f57a808f2d654dc26650802985 /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | ice: Prohibit rx mode change in switchdev mode (diff) | |
| download | kernel-7aa529a69e92b9aff585e569d5003f7c15d8d60b.tar.gz kernel-7aa529a69e92b9aff585e569d5003f7c15d8d60b.zip | |
ice: Don't tx before switchdev is fully configured
There is possibility that ice_eswitch_port_start_xmit might be
called while some resources are still not allocated which might
cause NULL pointer dereference. Fix this by checking if switchdev
configuration was finished.
Reviewed-by: Paul Menzel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Wojciech Drewek <[email protected]>
Tested-by: Sujai Buvaneswaran <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
