diff options
author | Laurent Riffard <laurent.riffard@free.fr> | 2006-11-18 12:03:04 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-11-30 12:14:06 +0100 |
commit | 418e8f3d7ef4a30d4b5c84440641c9792a7f83f1 (patch) | |
tree | 9a594b5625f4a90509ed997647f7698e214fafe4 /arch | |
parent | Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-418e8f3d7ef4a30d4b5c84440641c9792a7f83f1.tar.xz linux-418e8f3d7ef4a30d4b5c84440641c9792a7f83f1.zip |
[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 'arch')
0 files changed, 0 insertions, 0 deletions