]> git.baikalelectronics.ru Git - kernel.git/commit
can: add missing attribute validation for termination
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:16 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 21:28:48 +0000 (13:28 -0800)
commitd1edbf00aad75398f6e8d8a5d072306ed4c31a7d
tree7354e5e296dd4028595e3c8b490ea609b635cfbf
parentb666b32ad8040e7b85b02a0729560ac74762b2d2
can: add missing attribute validation for termination

Add missing attribute validation for IFLA_CAN_TERMINATION
to the netlink policy.

Fixes: b152e5550d51 ("can: dev: add CAN interface termination API")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/dev.c