Date: Sat, 4 Jun 2011 16:25:12 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/tools/regression/netinet/ipdivert Makefile ipdivert.c Message-ID: <201106041625.p54GPJTg057775@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106041625.p54GPJTg057775>
