kern/146832: [pf] "(self)" not always matching all local IPv6 addresses

Christian Laursen xi at borderworlds.dk
Tue Sep 27 12:30:13 UTC 2011


The following reply was made to PR kern/146832; it has been noted by GNATS.

From: Christian Laursen <xi at borderworlds.dk>
To: bug-followup at FreeBSD.org, xi at borderworlds.dk
Cc:  
Subject: Re: kern/146832: [pf] "(self)" not always matching all local IPv6
 addresses
Date: Tue, 27 Sep 2011 14:21:51 +0200

 The patch Kenneth has submitted does not fix my case, unfortunately.
 
 However, the following patch seems to work for me.
 
 --- nd6_rtr.c.orig	2011-09-24 20:24:25.000000000 +0200
 +++ nd6_rtr.c	2011-09-24 20:20:57.000000000 +0200
 @@ -1303,6 +1303,8 @@
   			 * XXX: what if address duplication happens?
   			 */
   			pfxlist_onlink_check();
 +
 +			EVENTHANDLER_INVOKE(ifaddr_event, ifp);
   		} else {
   			/* just set an error. do not bark here. */
   			error = EADDRNOTAVAIL; /* XXX: might be unused. */
 
 
 -- 
 Christian Laursen
 


More information about the freebsd-pf mailing list