commit | be286bafe1f4069094865264f29805854c5788bf | [log] [tgz] |
---|---|---|
author | Oliver Hartkopp <socketcan@hartkopp.net> | Thu Jan 17 18:43:44 2013 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Sat Jan 26 16:59:01 2013 +0100 |
tree | 1db2a2fa446d714e6b64630f6b6d91525d9f4984 | |
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>