Thread (2 messages) flat view 2 messages, 2 authors, 2009-11-08

Re: [PATCH] can: fix WARN_ON dump in net/core/rtnetlink.c:rtmsg_ifinfo()

From: David Miller <davem@davemloft.net>
Date: 2009-11-08 08:45:36

From: Wolfgang Grandegger <redacted>
Date: Sat, 07 Nov 2009 10:53:13 +0100
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 <redacted>
Applied to net-2.6, thanks Wolfgang.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help