Thread (5 messages) 5 messages, 2 authors, 2015-09-29
STALE3893d

[RFC PATCH 0/4] Net namespaces for SocketCAN

From: Andri Yngvason <hidden>
Date: 2015-09-27 18:22:27

Hi all,

I've added net namespace support for raw and gw sockets. BCM needs work.

I've done some preliminary testing and everything seems to work, but I would
like to have some input from you guys before continuing.

In particular I'm worried that I might have missed something with regard to
receive lists. Devices still share the same "rcv_cache" across namespaces.

Please tell me what you think.

Thanks,
Andri

Andri Yngvason (4):
  net: can: make af_can header global
  net: can: rename structures
  net: can: move shared data into net namespace
  net: can: remove net namespace restrictions

 include/linux/can/core.h    |   4 +-
 include/net/af_can.h        | 131 +++++++++++++++++++
 include/net/net_namespace.h |   4 +
 include/net/netns/can.h     |  20 +++
 net/can/af_can.c            | 183 ++++++++++++++------------
 net/can/af_can.h            | 126 ------------------
 net/can/bcm.c               |  29 +++--
 net/can/gw.c                |  13 +-
 net/can/proc.c              | 307 ++++++++++++++++++++++++--------------------
 net/can/raw.c               |  34 +++--
 10 files changed, 466 insertions(+), 385 deletions(-)
 create mode 100644 include/net/af_can.h
 create mode 100644 include/net/netns/can.h
 delete mode 100644 net/can/af_can.h

-- 
2.5.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help