kernel-ark/drivers/net/can
Oliver Hartkopp 993e6f2fd4 can: fix oops caused by wrong rtnl newlink usage
For 'real' hardware CAN devices the netlink interface is used to set CAN
specific communication parameters. Real CAN hardware can not be created with
the ip tool ...

The invocation of 'ip link add type can' lead to an oops as the standard rtnl
newlink function was called:

http://bugzilla.kernel.org/show_bug.cgi?id=13954

This patch adds a private newlink function for the CAN device driver interface
that unconditionally returns -EOPNOTSUPP.

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Reported-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
CC: Patrick McHardy <kaber@trash.net>
CC: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-13 16:33:01 -07:00
..
sja1000 can: sja1000: remove duplicated includes 2009-07-20 12:28:26 -07:00
dev.c can: fix oops caused by wrong rtnl newlink usage 2009-08-13 16:33:01 -07:00
Kconfig can: let SJA1000 driver depend on HAS_IOMEM 2009-06-23 04:16:44 -07:00
Makefile can: Driver for the SJA1000 CAN controller 2009-05-18 15:41:41 -07:00
vcan.c vcan: whitespace fixes 2008-12-17 15:37:55 -08:00