On 2015/09/23 08:16, Kurt Mosiejczuk wrote:
> On Wed, Sep 23, 2015 at 07:37:05AM +0000, Stuart Henderson wrote:
> > On 2015-09-22, Kurt Mosiejczuk <kurt-open...@se.rit.edu> wrote:
> > > I just updated my current box to yesterdays (2015-09-21) snapshot.  Now
> > > it won't keep a network address.  
> 
> > That's a recent bug - should be fixed if you update again.
> 
> Excellent.  I'll watch my mirror for a newer snapshot.  It just occurred
> to me I didn't have a problem when using bsd.rd.  Hopefully that is still
> true when I try and install the new snapshot.
> 
> Can you point me at the bug fix?  I was looking at cvsweb again and the
> newest change I could see there is 2 weeks ago...

I believe this is the issue fixed by this commit - if you saved the
previous kernel before updating, you might be able to boot with that
instead.

---------------------
PatchSet 4122 
Date: 2015/09/22 11:05:00
Author: mpi
Branch: HEAD
Tag: (none) 
Log:
When a connected route is deleted, pass the corresponding priority to
rtrequest1(9) otherwise the route will remain attached to a stale ifa.

Found by matthieu@

Members: 
        route.c:1.240->1.241 

Index: src/sys/net/route.c
diff -u src/sys/net/route.c:1.240 src/sys/net/route.c:1.241
--- src/sys/net/route.c:1.240   Mon Sep 21 11:15:27 2015
+++ src/sys/net/route.c Tue Sep 22 10:05:00 2015
@@ -1,4 +1,4 @@
-/*     $OpenBSD: route.c,v 1.240 2015/09/21 11:15:27 mpi Exp $ */
+/*     $OpenBSD: route.c,v 1.241 2015/09/22 10:05:00 mpi Exp $ */
 /*     $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $      */
 
 /*
@@ -1267,6 +1267,9 @@
 
        if (flags & (RTF_LOCAL|RTF_BROADCAST))
                prio = RTP_LOCAL;
+
+       if (flags & RTF_CONNECTED)
+               prio = RTP_CONNECTED;
 
        error = rtrequest1(RTM_DELETE, &info, prio, &rt, rtableid);
        if (error == 0) {

Reply via email to