Re: Too Much ARP-ing

Mike Kilburn (
Mon, 27 Jan 1997 20:04:02 +0200 (SAT)

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