Thread (7 messages) flat view 7 messages, 3 authors, 2012-08-20

Re: [PATCH v1.1] af_packet: don't emit packet on orig fanout group

From: David Miller <davem@davemloft.net>
Date: 2012-08-20 09:37:44

From: Eric Leblond <redacted>
Date: Fri, 17 Aug 2012 10:02:58 +0200
If a packet is emitted on one socket in one group of fanout sockets,
it is transmitted again. It is thus read again on one of the sockets
of the fanout group. This result in a loop for software which
generate packets when receiving one.
This retransmission is not the intended behavior: a fanout group
must behave like a single socket. The packet should not be
transmitted on a socket if it originates from a socket belonging
to the same fanout group.

This patch fixes the issue by changing the transmission check to
take fanout group info account.

Reported-by: Aleksandr Kotov <redacted>
Signed-off-by: Eric Leblond <redacted>
Applied, thanks a lot Eric.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help