Re: J1939: problem in CM mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



our client had some crash when using some simulation file, which send
frame with the same source address as our j1939 board.

after analysing, it seems it was related to some specific behaviour
with rt-patch.

so to avoid crash, and after some discussion on mailing list,
confirming this was not some legal usecase, we decided to drop frame
(in j1939/main.c) coming with
the same source address as our board.
And this is this filter who make the CM not working.
Now il drop only frame with same source address, coming from external
(not loopback)

Laurent

On Wed, Jan 23, 2019 at 3:26 PM Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> wrote:
>
> On 1/23/19 2:37 PM, laurent vaudoit wrote:
> > i've found my problem, in fact we added some filtering for some
> > special test, and the CTS sent frame was not deliverered to the
> > transport layer.
>
> What kind of filter have you added where, using which parameters?
>
> > removing this special code makes it works
> > sorry for the inconvenience
>
> Marc
>
> --
> Pengutronix e.K.                  | Marc Kleine-Budde           |
> Industrial Linux Solutions        | Phone: +49-231-2826-924     |
> Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
>



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux