All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Net namespaces for SocketCAN
@ 2015-09-27 18:22 Andri Yngvason
  2015-09-28 17:54 ` Oliver Hartkopp
  0 siblings, 1 reply; 5+ messages in thread
From: Andri Yngvason @ 2015-09-27 18:22 UTC (permalink / raw)
  To: linux-can; +Cc: Oliver Hartkopp, Marc Kleine-Budde, John Ernberg

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


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

end of thread, other threads:[~2015-09-29 19:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-27 18:22 [RFC PATCH 0/4] Net namespaces for SocketCAN Andri Yngvason
2015-09-28 17:54 ` Oliver Hartkopp
2015-09-29 10:30   ` Andri Yngvason
2015-09-29 17:56     ` Oliver Hartkopp
2015-09-29 19:07       ` Andri Yngvason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.