From: Jay Vosburgh Date: Thu, 3 Jul 2008 01:21:58 +0000 (-0700) Subject: bonding: refactor mii monitor X-Git-Tag: v2.6.27-rc3~69^2~13^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c76d61779b153dbfb955db3f144c62d02173c2;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed