diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2013-01-17 17:43:44 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-26 15:59:01 (GMT) |
commit | be286bafe1f4069094865264f29805854c5788bf (patch) | |
tree | 1db2a2fa446d714e6b64630f6b6d91525d9f4984 /drivers | |
parent | d904d3edcbb26efc86ea3575bb4265559801a94b (diff) | |
download | linux-fsl-qoriq-be286bafe1f4069094865264f29805854c5788bf.tar.xz |
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 'drivers')
0 files changed, 0 insertions, 0 deletions