From: Veaceslav Falico Date: Mon, 24 Jun 2013 09:49:31 +0000 (+0200) Subject: bonding: don't validate arp if we don't have to X-Git-Tag: v3.11-rc1~64^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c14610210978512271dd6fe21d6f55b789d9a80;p=pandora-kernel.git bonding: don't validate arp if we don't have to Currently, we validate all the incoming arps if arp_validate not 0. However, we don't have to validate backup slaves if arp_validate == active and vice versa, so return early in bond_arp_rcv() in these cases. It works correctly now because we verify arp_validate in slave_last_rx(), however we're just doing useless work in bond_arp_rcv(). Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed