Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2006 05:30:26 GMT
From:      Astrodog <astrodog@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/95665: [if_tun] "ping: sendto: No buffer space available" with TUN interface (easily reproducable with test program)
Message-ID:  <200610080530.k985UQde074355@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/95665; it has been noted by GNATS.

From: Astrodog <astrodog@gmail.com>
To: bug-followup@FreeBSD.org, johan@nocrew.org
Cc:  
Subject: Re: kern/95665: [if_tun] "ping: sendto: No buffer space available" with TUN interface (easily reproducable with test program)
Date: Sun, 8 Oct 2006 00:22:20 -0500

 I can reproduce this problem with some ease.
 
 It occurs when the buffer for tun0 fills up, because the NIC is unable
 to send the packets as quickly as the program is generating them.
 
 This is fairly common on slow or dodgy NICs, when combined with tun/gif/etc.
 
 There is not a real fix, because the outgoing NIC used by tun can
 change, so any attempt to make it aware of the buffer, and throttle
 accordingly would be painfully hacked together.
 
 To confirm that this is actually the issue, increase the size of the
 buffer. You should see a larger number of packets make it through.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610080530.k985UQde074355>