From owner-cvs-src@FreeBSD.ORG Fri Jul 15 09:18:35 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34C3B16A41C; Fri, 15 Jul 2005 09:18:35 +0000 (GMT) (envelope-from gnn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF5243D46; Fri, 15 Jul 2005 09:18:35 +0000 (GMT) (envelope-from gnn@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6F9IYk5080109; Fri, 15 Jul 2005 09:18:34 GMT (envelope-from gnn@repoman.freebsd.org) Received: (from gnn@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6F9IY0u080108; Fri, 15 Jul 2005 09:18:34 GMT (envelope-from gnn) Message-Id: <200507150918.j6F9IY0u080108@repoman.freebsd.org> From: "George V. Neville-Neil" Date: Fri, 15 Jul 2005 09:18:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net rtsock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 09:18:35 -0000 gnn 2005-07-15 09:18:34 UTC FreeBSD src repository Modified files: sys/net rtsock.c Log: Fix for PR 82974. We were not checking that the route looked up in the case of an RTM_CHANGE was specific, i.e. that it matched completely. This led to a route change of a non-existent route changing the default route as the radix code would simply back track to that point and hand that route back to the routing socket code. PR: 82974 Reviewed by: Tai-hwa Liang Ben Kaduk Bjoern A. Zeeb Obtained from: OpenBSD with modifications. MFC after: 2 weeks Revision Changes Path 1.124 +19 -0 src/sys/net/rtsock.c