> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Ivan 
> Vecera
> Sent: Tuesday, October 24, 2023 6:21 PM
> To: [email protected]
> Cc: [email protected]; Brandeburg, Jesse 
> <[email protected]>; [email protected]; Eric Dumazet 
> <[email protected]>; Nguyen, Anthony L <[email protected]>; 
> Keller, Jacob E <[email protected]>; Jakub Kicinski <[email protected]>; 
> Paolo Abeni <[email protected]>; David S. Miller <[email protected]>
> Subject: [Intel-wired-lan] [PATCH net-next 2/2] i40e: Fix devlink port 
> unregistering
>
> Ensure that devlink port is unregistered after unregistering
> of net device.
>
> Reproducer:
> [root@host ~]# rmmod i40e
> [ 4742.939386] i40e 0000:02:00.1: i40e_ptp_stop: removed PHC on enp2s0f1np1
> [ 4743.059269] ------------[ cut here ]------------
> [ 4743.063900] WARNING: CPU: 21 PID: 10766 at net/devlink/port.c:1078 
> devl_port_unregister+0x69/0x80
> ...
>
> Fixes: 9e479d64dc58 ("i40e: Add initial devlink support")
> Signed-off-by: Ivan Vecera <[email protected]>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
>

Tested-by: Pucha Himasekhar Reddy <[email protected]> (A 
Contingent worker at Intel)

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Reply via email to