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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2011 23:16:00 +0000 (16:16 -0700)
commitb76d0789c92a816a5539dc14232a700b8d62a53a
treec02aa02ecf856ae9429d11007ff7e7e722371537
parent32019e651c6fcee6bad6b6adb171feea5af0d16b
IPv4: Send gratuitous ARP for secondary IP addresses also

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>
net/ipv4/devinet.c