From owner-freebsd-net@FreeBSD.ORG Sat Mar 8 20:27:23 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 816FD1065674; Sat, 8 Mar 2008 20:27:23 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 709798FC1E; Sat, 8 Mar 2008 20:27:23 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m28KRNCX061699; Sat, 8 Mar 2008 20:27:23 GMT (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m28KRMj8061695; Sat, 8 Mar 2008 20:27:22 GMT (envelope-from rwatson) Date: Sat, 8 Mar 2008 20:27:22 GMT Message-Id: <200803082027.m28KRMj8061695@freefall.freebsd.org> To: johan@nocrew.org, rwatson@FreeBSD.org, freebsd-net@FreeBSD.org From: rwatson@FreeBSD.org Cc: Subject: Re: kern/95665: [if_tun] "ping: sendto: No buffer space available" with TUN interface (easily reproducable with test program) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 20:27:23 -0000 Synopsis: [if_tun] "ping: sendto: No buffer space available" with TUN interface (easily reproducable with test program) State-Changed-From-To: suspended->closed State-Changed-By: rwatson State-Changed-When: Sat Mar 8 20:24:15 UTC 2008 State-Changed-Why: Closing the PR as it appears that any bug in if_tun queue handling has now been resolved. If you are still able to reproduce a *permanent* hang in processing of if_tun under load, please let us know; temporarily returning ENOBUFS when things get full due to the user process falling behind is expected. Note that some other operating systems return success rather than ENOBUFS for datagram send to an interface with a full send queue, so if you see ENOBUFS only on FreeBSD (and not, say, Linux), this doesn't mean it's a bug. If you reply with further information confirming a problem on a recent (FreeBSD 6.3, 7.0) version, I can re-open the PR and investigate further. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=95665