can: gw: add a per rule limitation of frame hops
authorOliver Hartkopp <socketcan@hartkopp.net>
Mon, 26 Aug 2013 13:05:36 +0000 (15:05 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 29 Aug 2013 20:58:24 +0000 (22:58 +0200)
Usually the received CAN frames can be processed/routed as much as 'max_hops'
times (which is given at module load time of the can-gw module).
Introduce a new configuration option to reduce the number of possible hops
for a specific gateway rule to a value smaller then max_hops.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

No differences found