From owner-freebsd-net@FreeBSD.ORG Thu Jul 22 15:20:03 2010 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C821065708 for ; Thu, 22 Jul 2010 15:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0952E8FC21 for ; Thu, 22 Jul 2010 15:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6MFK2BA084643 for ; Thu, 22 Jul 2010 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6MFK221084642; Thu, 22 Jul 2010 15:20:02 GMT (envelope-from gnats) Date: Thu, 22 Jul 2010 15:20:02 GMT Message-Id: <201007221520.o6MFK221084642@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Gleb Smirnoff Cc: Subject: Re: kern/148784: arp pub not working properly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gleb Smirnoff List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2010 15:20:03 -0000 The following reply was made to PR kern/148784; it has been noted by GNATS. From: Gleb Smirnoff To: grayich Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/148784: arp pub not working properly Date: Thu, 22 Jul 2010 19:11:18 +0400 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Please try the attached patch and report whether it works. -- Totus tuus, Glebius. --VS++wcV0S1rZb1Fb Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="if_llatbl.c.diff" Index: if_llatbl.c =================================================================== --- if_llatbl.c (revision 210371) +++ if_llatbl.c (working copy) @@ -337,6 +337,7 @@ * LLE_DELETED flag, and reset the expiration timer */ bcopy(LLADDR(dl), &lle->ll_addr, ifp->if_addrlen); + lle->la_flags |= (flags & (LLE_PUB | LLE_PROXY)); lle->la_flags |= LLE_VALID; lle->la_flags &= ~LLE_DELETED; #ifdef INET6 --VS++wcV0S1rZb1Fb--