diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2013-01-17 18:43:44 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-26 16:59:01 +0100 |
commit | be286bafe1f4069094865264f29805854c5788bf (patch) | |
tree | 1db2a2fa446d714e6b64630f6b6d91525d9f4984 /kernel | |
parent | d904d3edcbb26efc86ea3575bb4265559801a94b (diff) |
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 'kernel')
0 files changed, 0 insertions, 0 deletions