Re: [PATCH] net/af_packet: fix socket close on device stop

2025-02-10 Thread Tudor Cornea
> Applied to next-net > Should this go to stable as well I think it would probably make sense to have it in stable.

Re: [PATCH] net/af_packet: fix socket close on device stop

2025-02-07 Thread Stephen Hemminger
On Tue, 4 Feb 2025 18:45:08 +0200 Tudor Cornea wrote: > Currently, if we call rte_eth_dev_stop(), the sockets are closed. > If we attempt to start the port again, socket related operations > will not work correctly. > > This can be alleviated by closing the socket at the same place in > which w

Re: [PATCH] net/af_packet: fix socket close on device stop

2025-02-06 Thread Stephen Hemminger
On Tue, 4 Feb 2025 18:45:08 +0200 Tudor Cornea wrote: > Currently, if we call rte_eth_dev_stop(), the sockets are closed. > If we attempt to start the port again, socket related operations > will not work correctly. > > This can be alleviated by closing the socket at the same place in > which w

[PATCH] net/af_packet: fix socket close on device stop

2025-02-04 Thread Tudor Cornea
Currently, if we call rte_eth_dev_stop(), the sockets are closed. If we attempt to start the port again, socket related operations will not work correctly. This can be alleviated by closing the socket at the same place in which we currently free the memory, in eth_dev_close(). If an application c