OSDN Git Service

[PATCH] net/ipv4/arp.c: Fix arp reply when sender ip 0
authorJonas Danielsson <the.sator@gmail.com>
Tue, 20 Nov 2007 16:28:22 +0000 (17:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 Dec 2007 10:39:03 +0000 (11:39 +0100)
commit15004be403cb7ebd53bb5c13d0811d1d3cf953b3
tree211631cbfbb35e37ac8d72b4a4150e85b30df28a
parentad4b96b362ab01392d904b4a74f11800e88f8ce4
[PATCH] net/ipv4/arp.c: 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>
net/ipv4/arp.c