From owner-cvs-src-old@FreeBSD.ORG Fri Aug 14 23:45:09 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 916F71065755 for ; Fri, 14 Aug 2009 23:45:08 +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 BCD7D8FC4D for ; Fri, 14 Aug 2009 23:45:08 +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 n7ENj8nn056878 for ; Fri, 14 Aug 2009 23:45:08 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7ENj8Q0056877 for cvs-src-old@freebsd.org; Fri, 14 Aug 2009 23:45:08 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200908142345.n7ENj8Q0056877@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Fri, 14 Aug 2009 23:44:59 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_output.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: Fri, 14 Aug 2009 23:45:09 -0000 qingli 2009-08-14 23:44:59 UTC FreeBSD src repository Modified files: sys/netinet ip_output.c Log: SVN rev 196234 on 2009-08-14 23:44:59Z by qingli In function ip_output(), the cached route is flushed when there is a mismatch between the cached entry and the intended destination. The cached rtentry{} is flushed but the associated llentry{} is not. This causes the wrong destination MAC address being used in the output packets. The fix is to flush the llentry{} when rtentry{} is cleared. Reviewed by: kmacy, rwatson Approved by: re Revision Changes Path 1.315 +5 -1 src/sys/netinet/ip_output.c