Date: Tue, 25 Jan 2011 16:42:25 +0300 From: Alexander Zagrebin <alex@zagrebin.ru> To: freebsd-net@freebsd.org Subject: Re: 8.2-PRERELEASE: if_bridge ARP and broadcasts issues Message-ID: <20110125134225.GE67220@gw.zagrebin.ru> In-Reply-To: <20110125133226.GD67220@gw.zagrebin.ru> References: <20110125133226.GD67220@gw.zagrebin.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi!
On 25.01.2011 16:32:26 +0300, Alexander Zagrebin wrote:
> Attached patch (patch-if_ether.c) fixes the issue.
It seems the attached file has disappeared.
I'll try again...
--
Alexander Zagrebin
[-- Attachment #2 --]
--- sys/netinet/if_ether.c.orig 2011-01-16 21:01:41.000000000 +0300
+++ sys/netinet/if_ether.c 2011-01-25 13:48:47.859914728 +0300
@@ -551,7 +551,7 @@
*/
IN_IFADDR_RLOCK();
LIST_FOREACH(ia, INADDR_HASH(itaddr.s_addr), ia_hash) {
- if (((bridged && ia->ia_ifp->if_bridge != NULL) ||
+ if (((bridged && ia->ia_ifp->if_bridge == ifp->if_bridge) ||
ia->ia_ifp == ifp) &&
itaddr.s_addr == ia->ia_addr.sin_addr.s_addr) {
ifa_ref(&ia->ia_ifa);
@@ -568,7 +568,7 @@
}
}
LIST_FOREACH(ia, INADDR_HASH(isaddr.s_addr), ia_hash)
- if (((bridged && ia->ia_ifp->if_bridge != NULL) ||
+ if (((bridged && ia->ia_ifp->if_bridge == ifp->if_bridge) ||
ia->ia_ifp == ifp) &&
isaddr.s_addr == ia->ia_addr.sin_addr.s_addr) {
ifa_ref(&ia->ia_ifa);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110125134225.GE67220>
