Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 01:09:52 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: cvs commit: src/sys/net route.c src/sys/netinet in.c in_rmx.c in_var.h raw_ip.c 
Message-ID:  <200105150009.f4F09q515206@hak.lan.Awfulhak.org>
In-Reply-To: Message from Ruslan Ermilov <ru@FreeBSD.org>  of "Mon, 14 May 2001 01:23:49 PDT." <200105140823.f4E8NnL79490@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Does this break ppp(8) ?  I haven't yet merged any of the SIOCAIFADDR 
optimisation stuff - and as I found a bug in it only a few days ago, 
I'm a bit loathe to merge it for another week or two.

> ru          2001/05/14 01:23:49 PDT
> 
>   Modified files:        (Branch: RELENG_4)
>     sys/net              route.c 
>     sys/netinet          in.c in_rmx.c in_var.h raw_ip.c 
>   Log:
>   MFC.
>   
>   net/route.c:
>     A route generated from an RTF_CLONING route had the RTF_WASCLONED flag
>     set but did not have a reference to the parent route, as documented in
>     the rtentry(9) manpage.  This prevented such routes from being deleted
>     when their parent route was deleted.
>   
>   netinet/in.c:
>     When address is removed from an interface, also delete all routes that
>     point to this interface and address.  Previously, for example, if you
>     changed the address on an interface, outgoing IP datagrams might still
>     use the old address.  The only solution was to delete and re-add some
>     routes.
>   
>   netinet/in_rmx.c, netinet/in_var.h, netinet/raw_ip.c:
>     In in_ifadown(), differentiate between whether the interface goes
>     down or interface address is deleted.  Only delete static routes
>     in the latter case.
>   
>   PR:		kern/20785, bin/26970, i386/27280
>   
>   Revision  Changes    Path
>   1.59.2.2  +5 -4      src/sys/net/route.c
>   1.44.2.3  +12 -1     src/sys/netinet/in.c
>   1.37.2.1  +14 -12    src/sys/netinet/in_rmx.c
>   1.33.2.1  +2 -2      src/sys/netinet/in_var.h
>   1.64.2.5  +2 -2      src/sys/netinet/raw_ip.c

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105150009.f4F09q515206>