From 42a7becc725fb48d6d2943a58e8e2da018d82fe8 Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar Date: Mon, 18 Apr 2016 07:09:39 -0700 Subject: [PATCH] RDS: IB: Make use of ARPOP_REQUEST instead of ARPOP_REPLY in bonding code Even though IPv4 ARP RFC allows for using either REQUEST or REPLY for grat. arp, upstream code from 3.14 onwards have moved on to use only REQUEST. Relevant commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=56022a8fdd874c56bb61d8c82559e43044d1aa06 RDS active bonding gratuitous arp code needs to adopt to this change to take advantage of the neighbor updates on UEK4. The current code makes use ARPOP_REPLY which needs to be changed to ARPOP_REQUEST. Orabug: 23094704 Tested-by: Michael Nowak Tested-by: Rose Wang Tested-by: Rafael Alejandro Peralez Acked-by: Mukesh Kacker Reviewed-by: Yuval Shaia Reported-by: Mukesh Kacker Signed-off-by: Santosh Shilimkar --- net/rds/ib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib.c b/net/rds/ib.c index 19cf1ae6b22e..1e69e67885da 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c @@ -508,7 +508,7 @@ static void rds_ib_send_gratuitous_arp(struct net_device *out_dev, /* Send multiple ARPs to improve reliability */ for (i = 0; i < rds_ib_active_bonding_arps; i++) { - arp_send(ARPOP_REPLY, ETH_P_ARP, + arp_send(ARPOP_REQUEST, ETH_P_ARP, ip_addr, out_dev, ip_addr, NULL, dev_addr, NULL); -- 2.49.0