Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 01:23:49 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net route.c src/sys/netinet in.c in_rmx.c in_var.h raw_ip.c
Message-ID:  <200105140823.f4E8NnL79490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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


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?200105140823.f4E8NnL79490>