diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2009-11-06 23:53:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-08 00:45:48 -0800 |
commit | 53a0ef866dc379e577794819d0b8ade5ba338e3a (patch) | |
tree | 250f93d5303cd788e09ee6032c416b5681ea2396 /drivers/lguest | |
parent | 6755aebaaf9fc5416acfd4578ab7a1e122ecbc74 (diff) |
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 <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions