[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120816.145322.1154793898136345258.davem@davemloft.net>
Date: Thu, 16 Aug 2012 14:53:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: a1k@...l.ru
Cc: netdev@...r.kernel.org, miquels@...nkel.ow.org
Subject: Re: AF_PACKET + PACKET_FANOUT: tx packet delivered back in rx
From: Aleksandr Kotov <a1k@...l.ru>
Date: Thu, 12 Jul 2012 12:30:17 +0400
> I have a problem using AF_PACKET socket with PACKET_RX_RING, PACKET_TX_RING and PACKET_FANOUT options enabled.
> I am seeing my TX packets get back to the same socket in RX ring. Socket is created and gets bind with ETH_P_ALL protocol type. The problem is in the fanout_add function
> which sets af_packet_priv to "match" variable, but not sk one describing socket and in dev_queue_xmit_nit skb get bounced back to the socket despite the comment left in the function.
Eric Leblong is posting fixes for this problem recently:
http://patchwork.ozlabs.org/patch/178044/
--
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