From: Wolfgang Grandegger Date: Fri, 6 Nov 2009 23:53:13 +0000 (+0000) Subject: can: fix WARN_ON dump in net/core/rtnetlink.c:rtmsg_ifinfo() X-Git-Tag: v2.6.32-rc7~58^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53a0ef866dc379e577794819d0b8ade5ba338e3a;p=pandora-kernel.git can: fix WARN_ON dump in net/core/rtnetlink.c:rtmsg_ifinfo() On older kernels, e.g. 2.6.27, a WARN_ON dump in rtmsg_ifinfo() is thrown when the CAN device is registered due to insufficient skb space, as reported by various users. This patch adds the rtnl_link_ops "get_size" to fix the problem. I think this patch is required for more recent kernels as well, even if no WARN_ON dumps are triggered. Maybe we also need "get_xstats_size" for the CAN xstats. Signed-off-by: Wolfgang Grandegger Signed-off-by: David S. Miller --- Reading git-diff-tree failed