mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-08 20:40:24 +00:00
![Laurent Riffard](/assets/img/avatar_default.png)
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>