Skip to content

Fix and complete CAN namespace support

Oliver Hartkopp linux-can netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8can: fix memory leak in initial namespace supportnet/can/af_can.c+2 -00 replies
2/8can: remove obsolete pernet_operations definitionsnet/can/af_can.c+0 -40 replies
3/8can: remove obsolete definitionsnet/can/af_can.h+0 -40 replies
4/8can: complete initial namespace supportinclude/linux/can/core.h include/net/netns/can.h net/can/af_can.c +2 more+121 -1050 replies
5/8can: network namespace support for CAN_BCM protocolinclude/net/netns/can.h net/can/bcm.c+58 -330 replies
6/8can: network namespace support for CAN gatewayinclude/net/netns/can.h net/can/gw.c+47 -280 replies
7/8can: add Virtual CAN Tunnel driver (vxcan)drivers/net/can/Kconfig drivers/net/can/Makefile drivers/net/can/vxcan.c +1 more+347 -00 replies
8/8can: enable module auto loading for virtual CAN interfacesdrivers/net/can/vcan.c+5 -20 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/8] Fix and complete CAN namespace support

Hello Dave,

unfortunately the initial network namespace support by Mario Kicherer (8e8cda6d737d) slipped into net-next without further review and Marc pushed the code without my Acked-by. Due to the fact that this code was in net-next now I spent some nights to fix, clean up, finalize and test the missing pieces for the namespace support for the CAN subsystem in net/can.

As Marc is currently *VERY* unresponsive on the mailing list due to his 'real' job I send this patch set directly to you to make sure it gets through the current merge window. We are already in -rc8 and I would like to avoid to push an incomplete functionality - that has to be fixed - to Linus.

This patch set is based on the latest net-next.

Thanks,
Oliver

Oliver Hartkopp (8):
can: fix memory leak in initial namespace support
can: remove obsolete pernet_operations definitions
can: remove obsolete definitions
can: complete initial namespace support
can: network namespace support for CAN_BCM protocol
can: network namespace support for CAN gateway
can: add Virtual CAN Tunnel driver (vxcan)
can: enable module auto loading for virtual CAN interfaces

 drivers/net/can/Kconfig        |  18 +++
 drivers/net/can/Makefile       |   1 +
 drivers/net/can/vcan.c         |   7 +-
 drivers/net/can/vxcan.c        | 316 +++++++++++++++++++++++++++++++++++++++++
 include/linux/can/core.h       |   4 +-
 include/net/netns/can.h        |   9 ++
 include/uapi/linux/can/vxcan.h |  12 ++
 net/can/af_can.c               |  77 +++++-----
 net/can/af_can.h               |   9 --
 net/can/bcm.c                  |  90 +++++++-----
 net/can/gw.c                   |  72 ++++++----
 net/can/proc.c                 | 141 +++++++++---------
 12 files changed, 580 insertions(+), 176 deletions(-)
 create mode 100644 drivers/net/can/vxcan.c
 create mode 100644 include/uapi/linux/can/vxcan.h
Signature · 1 line
2.11.0