]> git.baikalelectronics.ru Git - kernel.git/commit
can: cangw: introduce optional uid to reference created routing jobs
authorOliver Hartkopp <socketcan@hartkopp.net>
Tue, 9 Jun 2015 06:05:10 +0000 (08:05 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 9 Jun 2015 07:39:49 +0000 (09:39 +0200)
commit7ca0c1d5ae5f5929d58d0297958c4abfa1ca0185
treeb394338cd863db6e14ea822458cf84dd6cc70022
parentb9806cf6704f9b83ec2b4fa783d9d4e29c54ab06
can: cangw: introduce optional uid to reference created routing jobs

Similar to referencing iptables rules by their line number this UID allows to
reference created routing jobs, e.g. to alter configured data modifications.

The UID is an optional non-zero value which can be provided at routing job
creation time. When the UID is set the UID replaces the data modification
configuration as job identification attribute e.g. at job removal time.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/uapi/linux/can/gw.h
net/can/gw.c