[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120820.023743.1739374734021977895.davem@davemloft.net>
Date: Mon, 20 Aug 2012 02:37:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric@...it.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v1.1] af_packet: don't emit packet on orig fanout group
From: Eric Leblond <eric@...it.org>
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 <a1k@...l.ru>
> Signed-off-by: Eric Leblond <eric@...it.org>
Applied, thanks a lot Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists