diff options
| author | Oliver Hartkopp <[email protected]> | 2013-01-17 17:43:44 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2013-01-26 15:59:01 +0000 |
| commit | be286bafe1f4069094865264f29805854c5788bf (patch) | |
| tree | 1db2a2fa446d714e6b64630f6b6d91525d9f4984 /net/ipv4/tcp_output.c | |
| parent | can: gw: make routing to the incoming CAN interface configurable (diff) | |
| download | kernel-be286bafe1f4069094865264f29805854c5788bf.tar.gz kernel-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 <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
