[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081116.191628.135824721.davem@davemloft.net>
Date: Sun, 16 Nov 2008 19:16:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: greearb@...delatech.com
Cc: netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: ARP table question
From: Ben Greear <greearb@...delatech.com>
Date: Wed, 12 Nov 2008 14:10:26 -0800
> Ben Greear wrote:
> > I have 500 mac-vlans on a system talking to 500 other
> > mac-vlans. My problem is that the arp-table gets extremely
> > huge because every time an arp-request comes in on all mac-vlans,
> > a stale arp entry is added for each mac-vlan. I have filtering
> > turned on, but that doesn't help because the neigh_event_ns call
> > below will cause a stale neighbor entry to be created regardless
> > of whether a replay will be sent or not.
> > Maybe the neigh_event code should be below the checks for dont_send,
> > and only create check neigh_event_ns if we are !dont_send?
>
> The attached patch makes it work much better for me. The patch
> will cause the code to NOT create a stale neighbor entry if we
> are not going to respond to the ARP request. The old code
> *would* create a stale entry even if we are not going to respond.
>
> This is against 2.6.25.15.
>
> Signed-off-by: Ben Greear<greearb@...delatech.com>
This change makes a lot of sense to me, I'll add it to net-next-2.6
so it can cook in there for a while just in case there are some
unwanted side-effects.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists