RE: [PATCH net-next v02 1/2] af_packet: allow fanout_add when socket is not RUNNING
From: Gur Stavi
Date: Thu Oct 10 2024 - 07:49:45 EST
> I realized another possible problem. We should consider adding ifindex
> Field to struct packet_fanout to be used for lookup of an existing match.
> There is little sense to bind sockets to different interfaces and then
> put them in the same fanout group.
> If you agree, I can prepare a separate patch for that.
My mistake: testing match->prot_hook.dev takes care of that.