can: gw: indicate and count deleted frames due to misconfiguration
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 17 Jan 2013 17:43:46 +0000 (18:43 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 26 Jan 2013 15:59:02 +0000 (16:59 +0100)
commite6afa00a1409bc3bceed9ccb33111519463dfe7b
tree90a039fdf39a111f7f9510ff012808277a0f2a65
parentbe286bafe1f4069094865264f29805854c5788bf
can: gw: indicate and count deleted frames due to misconfiguration

Add a statistic counter to detect deleted frames due to misconfiguration with
a new read-only CGW_DELETED netlink attribute for the CAN gateway.

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