diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2008-07-02 18:21:58 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-07 03:59:53 -0400 |
commit | f0c76d61779b153dbfb955db3f144c62d02173c2 (patch) | |
tree | b0e4af463171108e23c3701c05b1ca9c53e4c07b /scripts | |
parent | c16d118537cadb21d186e35aebad90a13cd78846 (diff) |
bonding: refactor mii monitor
Refactor mii monitor. As with the previous ARP monitor refactor,
the motivation for this is to handle locking rationally (in this case,
removing conditional locking) and generally clean up the code.
This patch breaks up the monolithic mii monitor into two phases:
an inspection phase, followed by an optional commit phase. The commit phase
is the only portion that requires RTNL or makes changes to state, and is
only called when inspection finds something to change.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions