Re: [PATCH v01] net/af_packet: don't specify protocol on socket create

2024-10-25 Thread Ferruh Yigit
On 10/26/2024 12:10 AM, Ferruh Yigit wrote: > On 10/17/2024 2:38 AM, Stephen Hemminger wrote: >> On Sun, 13 Oct 2024 16:59:47 +0300 >> Gur Stavi wrote: >> >>> When creating AF_PACKET socket with specified protocol it is >>> immediately implicitly bound to any existing interface and >>> becomes RUN

Re: [PATCH v01] net/af_packet: don't specify protocol on socket create

2024-10-25 Thread Ferruh Yigit
On 10/17/2024 2:38 AM, Stephen Hemminger wrote: > On Sun, 13 Oct 2024 16:59:47 +0300 > Gur Stavi wrote: > >> When creating AF_PACKET socket with specified protocol it is >> immediately implicitly bound to any existing interface and >> becomes RUNNING. Calling bind on such socket is affectively un

Re: [PATCH v01] net/af_packet: don't specify protocol on socket create

2024-10-16 Thread Ferruh Yigit
On 10/13/2024 2:59 PM, Gur Stavi wrote: > When creating AF_PACKET socket with specified protocol it is > immediately implicitly bound to any existing interface and > becomes RUNNING. Calling bind on such socket is affectively unbind > from "any interface", then bind to the specific interface. > D