[124] in linux-net channel archive
Kernel 1.2.0 - proxy ARP bug
daemon@ATHENA.MIT.EDU (Martin Junius)
Tue Mar 14 08:23:10 1995
Date: Tue, 14 Mar 95 09:02:00 +0100
From: mj@sungate.fido.de (Martin Junius)
Resent-From: Martin Junius <mj@sungate.fido.de>
Resent-To: linux-net@vger.rutgers.edu
Apparently-To: linux-net@vger.rutgers.edu
Proxy ARP entries created with
arp -s host hwaddr pub
don't work anymore with kernel 1.2.0 (used to work with 1.1.90). IMHO
this is a typo in arp.c (`!=' instead of `=='). The following patch
fixes this:
--- arp.c.ORIG Sun Mar 12 12:09:39 1995
+++ arp.c Sun Mar 12 12:58:29 1995
@@ -681,7 +681,7 @@
having to use a huge number of proxy arp entries
and having to keep them uptodate.
*/
- if (proxy_entry->dev != dev && proxy_entry->htype == htype &&
+ if (proxy_entry->dev == dev && proxy_entry->htype == htype &&
!((proxy_entry->ip^tip)&proxy_entry->mask))
break;
Martin
--
_____ _____
| |___ | Martin Junius FIDO: 2:2452/110.1
| | | | | | Republikplatz 3 Internet: mj@sungate.fido.de
|_|_|_|@home| D-52072 Aachen, Germany Phone: +49-241-86931 !!!VOICE!!!