can: gw: make routing to the incoming CAN interface configurable
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 17 Jan 2013 17:43:41 +0000 (18:43 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 26 Jan 2013 15:59:01 +0000 (16:59 +0100)
commitd904d3edcbb26efc86ea3575bb4265559801a94b
tree3589f467d029ea18c1740841ba5dd12323bc3b7a
parent156c2bb9f88065c8da78814f98fde665a5cbb527
can: gw: make routing to the incoming CAN interface configurable

Introduce new configuration flag CGW_FLAGS_CAN_IIF_TX_OK to configure if a
CAN sk_buff that has been routed with can-gw is allowed to be send back to
the originating CAN interface.

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