]> git.baikalelectronics.ru Git - kernel.git/commit
can: fix oops caused by wrong rtnl dellink usage
authorOliver Hartkopp <socketcan@hartkopp.net>
Tue, 21 Jun 2016 13:45:47 +0000 (15:45 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 23 Jun 2016 08:58:17 +0000 (10:58 +0200)
commitcfbe633f41a57bfdd160e8fbe0027945dc07fc7e
tree69dce0a5f9d5710b3e1fe6201ea9572ab9e34f71
parent456a1fd33701168783df11d5410ab400c4a66f0e
can: fix oops caused by wrong rtnl dellink usage

For 'real' hardware CAN devices the netlink interface is used to set CAN
specific communication parameters. Real CAN hardware can not be created nor
removed with the ip tool ...

This patch adds a private dellink function for the CAN device driver interface
that does just nothing.

It's a follow up to commit d236a5dce ("can: fix oops caused by wrong rtnl
newlink usage") but for dellink.

Reported-by: ajneu <ajneu1@gmail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev.c