From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Subject: Re: can: expected receive behavior broken Date: Wed, 28 Jul 2010 10:23:24 +0200 Message-ID: <201007281023.25039.matthias.fuchs@esd.eu> References: <201007280956.38957.matthias.fuchs@esd.eu> <4C4FE7AC.4010806@grandegger.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org, Linux Netdev List To: Wolfgang Grandegger Return-path: In-Reply-To: <4C4FE7AC.4010806-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org plx_pci/sja1000 + esd_usb2 Should be easy to reproduce. Matthias On Wednesday 28 July 2010 10:17, Wolfgang Grandegger wrote: > On 07/28/2010 09:56 AM, Matthias Fuchs wrote: > > Hi, > > > > I just noticed that the receive behavior of CAN sockets is broken > > in current net-next-2.6. > > I wrote some simple code that receives messages and echos them back to > > the bus. When I now trigger one single message on the bus, I get > > this message received and echoed back in an endless loop. > > > > I do not touch the sockopts CAN_RAW_LOOPBACK or CAN_RAW_RECV_OWN_MSGS in my code. > > Only (!) setting CAN_RAW_LOOPBACK to 0 helps at the moment. But this behavior > > actually has nothing to do with LOOPBACK but more with RECV_OWN_MSGS. > > Sounds wired! What driver are you using? > > Wolfgang. > > >