From owner-cvs-src-old@FreeBSD.ORG Sat Jun 4 16:25:19 2011 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 8BCF21065673 for ; Sat, 4 Jun 2011 16:25:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7EB8FC16 for ; Sat, 4 Jun 2011 16:25:19 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p54GPJDP057776 for ; Sat, 4 Jun 2011 16:25:19 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p54GPJTg057775 for cvs-src-old@freebsd.org; Sat, 4 Jun 2011 16:25:19 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <201106041625.p54GPJTg057775@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sat, 4 Jun 2011 16:25:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/regression/netinet/ipdivert Makefile ipdivert.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: Sat, 04 Jun 2011 16:25:19 -0000 rwatson 2011-06-04 16:25:12 UTC FreeBSD src repository Added files: tools/regression/netinet/ipdivert Makefile ipdivert.c Log: SVN rev 222689 on 2011-06-04 16:25:12Z by rwatson Add a very simple IPDIVERT test, which creates IP divert sockets and checks for collision/non-collision properties in binding them. This test would have identified a bug recently reported on current@ involding my disaggregation of the pcbinfo lock. It would be nice if this test also exercised packet diversion and injection, but that is for another day. MFC after: 3 days Sponsored by: Juniper Networks, Inc. Revision Changes Path 1.1 +11 -0 src/tools/regression/netinet/ipdivert/Makefile (new) 1.1 +166 -0 src/tools/regression/netinet/ipdivert/ipdivert.c (new)