Re: [PATCH 1/1] bonding: properly unset current_arp_slave on slavelink up

From: Marcelo Leitner
Date: Thu Apr 05 2012 - 16:22:28 EST


On 04/05/2012 10:47 AM, Veaceslav Falico wrote:
When a slave comes up, we're unsetting the current_arp_slave without
removing active flags from it, which can lead to situations where we have
more than one slave with active flags in active-backup mode.

To avoid this situation we must remove the active flags from a slave before
removing it as a current_arp_slave.

Signed-off-by: Veaceslav Falico<vfalico@xxxxxxxxxx>

Signed-off-by: Marcelo Ricardo Leitner <mleitner@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/