diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2009-11-06 23:53:13 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-08 08:45:48 (GMT) |
commit | 53a0ef866dc379e577794819d0b8ade5ba338e3a (patch) | |
tree | 250f93d5303cd788e09ee6032c416b5681ea2396 /drivers/net/wireless/ipw2x00/ipw2200.c | |
parent | 6755aebaaf9fc5416acfd4578ab7a1e122ecbc74 (diff) | |
download | linux-fsl-qoriq-53a0ef866dc379e577794819d0b8ade5ba338e3a.tar.xz |
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/net/wireless/ipw2x00/ipw2200.c')
0 files changed, 0 insertions, 0 deletions