]> 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)
commit9f61435ebfef0ba8de6304eb098e958dc69682bb
treeb394338cd863db6e14ea822458cf84dd6cc70022
parent5ca98a20f2a9dfe4d3f320e46349ee0cd71c9c42
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