From owner-cvs-src@FreeBSD.ORG Wed Nov 26 12:31:14 2003 Return-Path: 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 B6E4016A4CE; Wed, 26 Nov 2003 12:31:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C5643FE0; Wed, 26 Nov 2003 12:31:13 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAQKVDXJ029089; Wed, 26 Nov 2003 12:31:13 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAQKVD5s029088; Wed, 26 Nov 2003 12:31:13 -0800 (PST) (envelope-from andre) Message-Id: <200311262031.hAQKVD5s029088@repoman.freebsd.org> From: Andre Oppermann Date: Wed, 26 Nov 2003 12:31:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet in_pcb.c ip_input.c tcp_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 26 Nov 2003 20:31:14 -0000 andre 2003/11/26 12:31:13 PST FreeBSD src repository Modified files: sys/netinet in_pcb.c ip_input.c tcp_subr.c Log: Make sure all uses of stack allocated struct route's are properly zeroed. Doing a bzero on the entire struct route is not more expensive than assigning NULL to ro.ro_rt and bzero of ro.ro_dst. Reviewed by: sam (mentor) Approved by: re (scottl) Revision Changes Path 1.135 +1 -2 src/sys/netinet/in_pcb.c 1.259 +2 -2 src/sys/netinet/ip_input.c 1.169 +2 -2 src/sys/netinet/tcp_subr.c