]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2011 23:16:00 +0000 (16:16 -0700)
commit95fb1cefbd925d9304ed7956db82a09dd5e1148b
treec02aa02ecf856ae9429d11007ff7e7e722371537
parent7c5321e36a4ea99239012fd45145c3ed68587141
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