summaryrefslogtreecommitdiffstats
path: root/net/can/af_can.c
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2013-01-17 18:43:44 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-01-26 16:59:01 +0100
commitbe286bafe1f4069094865264f29805854c5788bf (patch)
tree1db2a2fa446d714e6b64630f6b6d91525d9f4984 /net/can/af_can.c
parentcan: gw: make routing to the incoming CAN interface configurable (diff)
downloadlinux-be286bafe1f4069094865264f29805854c5788bf.tar.xz
linux-be286bafe1f4069094865264f29805854c5788bf.zip
can: gw: add a variable limit for CAN frame routings
To prevent a possible misconfiguration (e.g. circular CAN frame routings) limit the number of routings of a single CAN frame to a small variable value. The limit can be specified by the module parameter 'max_hops' (1..6). The default value is 1 (one hop), according to the original can-gw behaviour. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/af_can.c')
0 files changed, 0 insertions, 0 deletions