From owner-cvs-all@FreeBSD.ORG Tue Aug 5 07:59:07 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 002C037B401; Tue, 5 Aug 2003 07:59:06 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CDBD43FA3; Tue, 5 Aug 2003 07:59:06 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h75Ex60U034222; Tue, 5 Aug 2003 07:59:06 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h75Ex6Wu034221; Tue, 5 Aug 2003 07:59:06 -0700 (PDT) Message-Id: <200308051459.h75Ex6Wu034221@repoman.freebsd.org> From: Hartmut Brandt Date: Tue, 5 Aug 2003 07:59:06 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet if_atm.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 14:59:07 -0000 harti 2003/08/05 07:59:06 PDT FreeBSD src repository Modified files: sys/netinet if_atm.c Log: When adding a channel for INET failed at the device level (ioctl) the code used to call rtrequest(RTM_DELETE, ...). This is a problem, because the function that just has called us (route_output) is not really happy with the route it just is creating beeing ripped out from under it. Unfortunately we also cannot return an error from ifa_rtrequest. Therefore mark the route just as RTF_REJECT. Revision Changes Path 1.13 +4 -2 src/sys/netinet/if_atm.c