]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IPv4: Send gratuitous ARP for secondary IP addresses also
authorZoltan Kiss <schaman@sch.bme.hu>
Sun, 24 Jul 2011 13:09:30 +0000 (13:09 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:38 +0000 (18:31 -0700)
commit711ae7c7a810eb8bc92cac46041c996eb66dbd54
tree981893e0b5c74291954deddd75ca505da52dafe2
parent956c35400bfa51940de15ff7c31b7bba298f1dfe
IPv4: Send gratuitous ARP for secondary IP addresses also

[ Upstream commit b76d0789c92a816a5539dc14232a700b8d62a53a ]

If a device event generates gratuitous ARP messages, only primary
address is used for sending. This patch iterates through the whole
list. Tested with 2 IP addresses configuration on bonding interface.

Signed-off-by: Zoltan Kiss <schaman@sch.bme.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/devinet.c