Enable proxy ARP answers on any of the bridged interfaces if proxy record

belongs to another interface within the bridge group.

PR:		kern/94408
Submitted by:	Eygene A. Ryabinkin
MFC after:	1 month
This commit is contained in:
Andrew Thompson 2006-06-09 00:33:30 +00:00
parent b3a1f9373a
commit 5feebeeb53
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159448

View File

@ -863,10 +863,13 @@ in_arpinput(m)
} else {
/*
* Return proxied ARP replies only on the interface
* where this network resides. Otherwise we may
* conflict with the host we are proxying for.
* or bridge cluster where this network resides.
* Otherwise we may conflict with the host we are
* proxying for.
*/
if (rt->rt_ifp != ifp) {
if (rt->rt_ifp != ifp &&
(rt->rt_ifp->if_bridge != ifp->if_bridge ||
ifp->if_bridge == NULL)) {
RT_UNLOCK(rt);
goto drop;
}