[PATCH] bonding: Fix link monitor capability check (was skge: set mac address oops...
authornsxfreddy@gmail.com <nsxfreddy@gmail.com>
Wed, 21 Sep 2005 19:18:04 +0000 (14:18 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 22 Sep 2005 02:23:13 +0000 (22:23 -0400)
commit552709d5aee9145f325bf07348fb299e84b2e5b3
treee2087d962b5f2b6b74ea58c842a28d242a422edd
parentefb0372bbaf5b829ff8c39db372779928af542a7
[PATCH] bonding: Fix link monitor capability check (was skge: set mac address oops with bonding)

Fix bond_enslave link monitoring warning to check use_carrier status
and ethtool_ops in addition to do_ioctl.  This version checks ethtool_ops
as well as do_ioctl, and also uses the per-bond params.use_carrier
instead of the global use_carrier.

Signed-off-by: Jason R. Martin <nsxfreddy@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/bonding/bond_main.c