can: network namespace support for CAN gateway
authorOliver Hartkopp <socketcan@hartkopp.net>
Tue, 25 Apr 2017 06:19:43 +0000 (08:19 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 25 Apr 2017 07:04:30 +0000 (09:04 +0200)
commit1ef83310b81551079af992c4cbb5e089dd1397be
treed2d39af10ced10c0afc7a4057c30ccc603468626
parent384317ef4187f59a1cb7a6163444d757340b3bb4
can: network namespace support for CAN gateway

The CAN gateway was not implemented as per-net in the initial network
namespace support by Mario Kicherer (8e8cda6d737d).
This patch enables the CAN gateway to be used in different namespaces.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/net/netns/can.h
net/can/gw.c