public inbox for linux-can@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] can: janz-ican3: fix support for CAN_RAW_RECV_OWN_MSGS
@ 2012-07-05 20:58 Ira W. Snyder
  2012-07-05 20:58 ` [PATCH 1/2] can: add can_cmp_echo_skb() for echo skb comparison Ira W. Snyder
  2012-07-05 20:58 ` [PATCH 2/2] can: janz-ican3: fix support for CAN_RAW_RECV_OWN_MSGS Ira W. Snyder
  0 siblings, 2 replies; 4+ messages in thread
From: Ira W. Snyder @ 2012-07-05 20:58 UTC (permalink / raw)
  To: linux-can

This series adds support for can_cmp_echo_skb(), and then uses it to fix
support for CAN_RAW_RECV_OWN_MSGS in the janz-ican3 driver.

After these patches are applied, the SocketCAN test tst-rcv-own-msgs works
correctly. However, if cangen is invoked in non-loopback mode, the driver
stops accepting packets after a few seconds.

The cangen command which causes the driver to stop accepting packets:
cangen -g 0 -e -i -L 8 -x can0

Due to the issues mentioned above, please DO NOT apply the 2nd patch in
this series!

Ira W. Snyder (2):
  can: add can_cmp_echo_skb() for echo skb comparison
  can: janz-ican3: fix support for CAN_RAW_RECV_OWN_MSGS

 drivers/net/can/dev.c        |   34 ++++++++++++++++++++++++++++++++++
 drivers/net/can/janz-ican3.c |   37 ++++++++++++++++++++++++++++++-------
 include/linux/can/dev.h      |    2 ++
 3 files changed, 66 insertions(+), 7 deletions(-)

-- 
1.7.3.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-08 18:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05 20:58 [PATCH 0/2] can: janz-ican3: fix support for CAN_RAW_RECV_OWN_MSGS Ira W. Snyder
2012-07-05 20:58 ` [PATCH 1/2] can: add can_cmp_echo_skb() for echo skb comparison Ira W. Snyder
2012-07-05 20:58 ` [PATCH 2/2] can: janz-ican3: fix support for CAN_RAW_RECV_OWN_MSGS Ira W. Snyder
2012-07-08 18:59   ` Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox