aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/spider_net.h
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2006-11-18 12:03:04 +0100
committerJeff Garzik <jeff@garzik.org>2006-11-30 06:14:06 -0500
commit418e8f3d7ef4a30d4b5c84440641c9792a7f83f1 (patch)
tree9a594b5625f4a90509ed997647f7698e214fafe4 /drivers/net/spider_net.h
parentc1cb0b77f905a2f5f297e91fafbe766acc143891 (diff)
[PATCH] bonding: fix an oops when slave device does not provide get_stats
Bonding driver unconditionnaly dereference get_stats function pointer for each of its slave device. This patch - adds a check for NULL dev->get_stats pointer in bond_get_stats - prints a notice when the bonding device enslave a device without get_stats function. Signed-off-by: Laurent Riffard <laurent.riffard@free.fr> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.h')
0 files changed, 0 insertions, 0 deletions