lkml.org 
[lkml]   [1996]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectarp.c patch

Hello all. I seem to be one of the only people out here running with
arpd support built in, so I don't expect others will notice this. In
2.1.15 if arpd support is configured, the kernel will fail to build.
A patch for the offending code in arp.c is included here.

--- arp.c.orig Thu Dec 12 10:14:29 1996
+++ arp.c Thu Dec 12 10:14:37 1996
@@ -1074,7 +1074,7 @@
add_timer(&entry->timer);
#ifdef CONFIG_ARPD
if (!arpd_not_running)
- arpd_lookup(entry->ip, entry->dev);
+ arpd_lookup(entry->ip, dev);
else
#endif
arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev,
entry doesn't have a dev field, which is why dev gets selected out at
the top of the function.

It seems that whatever the bug was that was causing arpd to die in
previous kernels has been fixed, though. Good job!

Nathan "Ed" Spande
nspande@gac.edu




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.041 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site