From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 3 Feb 2012 07:44:19 -0500 Subject: [U-Boot] [PATCH 27/28] net: Work-around for brain-damaged Cisco routers with arp-proxy In-Reply-To: <1327020811-1538-28-git-send-email-joe.hershberger@ni.com> References: <1327020811-1538-1-git-send-email-joe.hershberger@ni.com> <1327020811-1538-28-git-send-email-joe.hershberger@ni.com> Message-ID: <201202030744.20932.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 19 January 2012 19:53:30 Joe Hershberger wrote: > Cisco's arp-proxy feature fails to ignore the link-local address range > This means that a link-local device on a network with this Cisco > equipment will reply to ARP requests for our device (in addition > to our reply) > ... > --- a/net/arp.c > +++ b/net/arp.c > > + /* > + * Work-around for brain-damaged Cisco equipment with > + * arp-proxy enabled. > + * > + * If the requesting IP is not on our subnet, wait 5ms to > + * reply to ARP request so that our reply will overwrite > + * the arp-proxy's instead of the other way around. > + */ > + if ((NetReadIP(&arp->ar_tpa) & NetOurSubnetMask) != > + (NetReadIP(&arp->ar_spa) & NetOurSubnetMask)) > + udelay(5000); shouldn't this sit behind a link local ifdef then ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: