From owner-cvs-src-old@FreeBSD.ORG Sun Aug 30 22:42:52 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82106106568D for ; Sun, 30 Aug 2009 22:42:52 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF798FC1B for ; Sun, 30 Aug 2009 22:42:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UMgq6A069350 for ; Sun, 30 Aug 2009 22:42:52 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7UMgqOe069349 for cvs-src-old@freebsd.org; Sun, 30 Aug 2009 22:42:52 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200908302242.n7UMgqOe069349@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Sun, 30 Aug 2009 22:42:32 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net flowtable.c rtsock.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 22:42:52 -0000 qingli 2009-08-30 22:42:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net flowtable.c rtsock.c Log: SVN rev 196673 on 2009-08-30 22:42:32Z by qingli MFC r196609 In ip_output(), the flow-table module must not try to cache L2/L3 information for interface of IFF_POINTOPOINT or IFF_LOOPBACK type. Since the L2 information (rt_lle) is invalid for these interface types, accidental caching attempt will trigger panic when the invalid rt_lle reference is accessed. When installing a new route, or when updating an existing route, the user supplied gateway address may be an interface address (this is particularly true for point-to-point interface related modules such as ppp, if_tun, if_gif). Currently the routing command handler always set the RTF_GATEWAY flag if the gateway address is given as part of the command paramters. Therefore the gateway address must be verified against interface addresses or else the route would be treated as an indirect route, thus making that route unusable. Reviewed by: kmacy, julian, rwatson Approved by: re Revision Changes Path 1.15.2.6 +6 -0 src/sys/net/flowtable.c 1.181.2.3 +34 -1 src/sys/net/rtsock.c