]> err.no Git - linux-2.6/commit
[ARP]: Fix arp reply when sender ip 0
authorJonas Danielsson <the.sator@gmail.com>
Wed, 21 Nov 2007 01:38:16 +0000 (17:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Nov 2007 01:38:16 +0000 (17:38 -0800)
commitb4a9811c42ecb70b2f0b375f6d4c77ab34d1f598
tree84cb96d0195a995b6d5bd5ca31c6c270e6097dbc
parent77adefdc9863d63f8d8bdc6a9adcdf9a6b0e2410
[ARP]: Fix arp reply when sender ip 0

Fix arp reply when received arp probe with sender ip 0.

Send arp reply with target ip address 0.0.0.0 and target hardware
address set to hardware address of requester. Previously sent reply
with target ip address and target hardware address set to same as
source fields.

Signed-off-by: Jonas Danielsson <the.sator@gmail.com>
Acked-by: Alexey Kuznetov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c