aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fsl_pq_mdio.c
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2009-11-06 23:53:13 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-08 00:45:48 -0800
commit53a0ef866dc379e577794819d0b8ade5ba338e3a (patch)
tree250f93d5303cd788e09ee6032c416b5681ea2396 /drivers/net/fsl_pq_mdio.c
parentcan: should not use __dev_get_by_index() without locks (diff)
downloadlinux-dev-53a0ef866dc379e577794819d0b8ade5ba338e3a.tar.xz
linux-dev-53a0ef866dc379e577794819d0b8ade5ba338e3a.zip
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/fsl_pq_mdio.c')
0 files changed, 0 insertions, 0 deletions