[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090813.163317.254848808.davem@davemloft.net>
Date: Thu, 13 Aug 2009 16:33:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: oliver@...tkopp.net
Cc: kaber@...sh.net, wg@...ndegger.com, netdev@...r.kernel.org,
dbaryshkov@...il.com
Subject: Re: [PATCH 2.6.31-rc5] can: fix oops caused by wrong rtnl newlink
usage
From: Oliver Hartkopp <oliver@...tkopp.net>
Date: Tue, 11 Aug 2009 14:41:24 +0200
> 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@...tkopp.net>
> Reported-by: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
Applied to net-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists