[lkml]   [1997]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Too Much ARP-ing

On Mon, 27 Jan 1997, A.N.Kuznetsov wrote:

> Do you use net aliases on this ethernet? If you do you will have to suffer.
> net_aliases are broken in 2.0.

I do and have strange arp problems. When my default gateway is down
and the local lan is idle for a while and I then attempt an arp
to a host on my local lan (not the gateway) the arp never gets
sent on the wire. I put some printk's in to track it and the problem is
this code in dev.c :

if (skb_queue_len(list)) {
/* avoid overrunning the device queue.. */
if (skb_queue_len(list) > dev->tx_queue_len) {
dev_kfree_skb(skb, FREE_WRITE);

The dev->buff list grows past the tx_queue_len when my gateway is offline.
It grows even faster when arp is sending. If I arp -d the entry
continously while pinging, the queue will suddenly become empty after
a minute or so - sometimes. Just luck I guess, its quicker to down the
interfaces and re-start them. This started somewhere in the late 1.3

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