bonding: enable netpoll without checking link status
authorAndy Gospodarek <andy@greyhouse.net>
Mon, 14 Mar 2011 12:05:21 +0000 (12:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2011 19:57:53 +0000 (12:57 -0700)
commitceda86a108671294052cbf51660097b6534672f5
treefd82cf21c099ba455e429bac7b8b0bbb9bd0d7ea
parentfbd5060875d25f7764fd1c3d35b83a8ed1d88d7b
bonding: enable netpoll without checking link status

Only slaves that are up should transmit netpoll frames, so there is no
need to check to see if a slave is up before enabling netpoll on it.
This resolves a reported failure on active-backup bonds where a slave
interface is down when netpoll was enabled.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Tested-by: WANG Cong <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c