Date: Wed, 7 Feb 2007 04:55:23 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 114151 for review Message-ID: <200702070455.l174tNVf080853@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114151 Change 114151 by csjp@csjp_rnd01 on 2007/02/07 04:54:29 Dont bother using BIOCSRTIMEOUT in the zerocopy case, all it can do is cause problems. Affected files ... .. //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#6 edit Differences ... ==== //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#6 (text+ko) ==== @@ -1048,7 +1048,7 @@ #endif /* set timeout */ p->to_ms = to_ms; - if (to_ms != 0) { + if (to_ms != 0 && getenv("BPF_ZERO_COPY") == NULL) { /* * XXX - is this seconds/nanoseconds in AIX? * (Treating it as such doesn't fix the timeout
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702070455.l174tNVf080853>