-
由 Laurent Riffard 提交于
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: NLaurent Riffard <laurent.riffard@free.fr> Signed-off-by: NJeff Garzik <jeff@garzik.org>
418e8f3d