Skip to content

CAN sk_buff and can-gw enhancements

Oliver Hartkopp linux-can 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4can: add private data space for CAN sk_buffsdrivers/net/can/dev.c drivers/net/can/slcan.c include/linux/can/skb.h +2 more+64 -70 replies
2/4can-gw: make routing to the incoming CAN interface configurableinclude/uapi/linux/can/gw.h net/can/gw.c+9 -00 replies
3/4can-gw: add a variable limit for CAN frame routingsnet/can/gw.c+40 -160 replies
4/4can-gw: indicate and count deleted frames due to misconfigurationinclude/uapi/linux/can/gw.h net/can/gw.c+12 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] CAN sk_buff and can-gw enhancements

From 0cb44d2bda7d3aeb96ce45eb7ee24a139bf40f78 Mon Sep 17 00:00:00 2001
From: Oliver Hartkopp <[email protected]>
Date: Thu, 17 Jan 2013 17:51:48 +0100
Subject: [PATCH 0/4] CAN sk_buff and can-gw enhancements

Hi all,

after the discussion with DaveM about the skb_iif usage here's my alternative to support the new can-gw functionalities:

- make routing to the incoming CAN interface configurable
- add a variable limit for CAN frame routings
- indicate and count deleted frames due to misconfiguration

I added some private space to CAN sk_buffs. See commit messages.

It can be pulled from the cangw branch of ollis-can-next:

https://gitorious.org/~hartkopp/linux-can/ollis-can-next/commits/cangw

Regards,
Oliver

Oliver Hartkopp (4):
can: add private data space for CAN sk_buffs
can-gw: make routing to the incoming CAN interface configurable
can-gw: add a variable limit for CAN frame routings
can-gw: indicate and count deleted frames due to misconfiguration

 drivers/net/can/dev.c       |    8 ++++-
 drivers/net/can/slcan.c     |    8 ++++-
 include/linux/can/skb.h     |   35 ++++++++++++++++++++
 include/uapi/linux/can/gw.h |    2 ++
 net/can/bcm.c               |   12 +++++--
 net/can/gw.c                |   74 +++++++++++++++++++++++++++++++++----------
 net/can/raw.c               |    8 +++--
 7 files changed, 124 insertions(+), 23 deletions(-)
 create mode 100644 include/linux/can/skb.h
Signature · 1 line
1.7.10.4