Date: Mon, 8 Oct 2007 16:29:11 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: freebsd-current@FreeBSD.org Subject: Re: CFT: vr(4) Message-ID: <20071008072911.GG46694@cdnetworks.co.kr> In-Reply-To: <20071008070345.E6043@maildrop.int.zabbadoz.net> References: <20071008061758.GF46694@cdnetworks.co.kr> <20071008070345.E6043@maildrop.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 08, 2007 at 07:04:32AM +0000, Bjoern A. Zeeb wrote: > On Mon, 8 Oct 2007, Pyun YongHyeon wrote: > > >It seems that there had been several stability issues in vr(4). > >Here is mimimal patch that make vr(4) work reliably under heavy > >network loads. The patch does the following: > >- Always check writability of mbuf before padding and make a > > writable copy of the mbuf if mbuf is marked as read-only. > >- Before padding is done check remaining bytes such that it can > > safely extend buffer size of the mbuf. > >- Before padding always check the return value of m_defrag(9). > >- Zero out pad space to avoid leaking data. > > > >If you have vr(4) hardware please give it spin and let me know > >the result. > > Had you seen wpaul's posting to net@ a few weeks ago. That had a patch > attached as well. What about that? > Yep, and I also asked for testing a patch for the issue. He said testing the patch would take a while and I'm still waiting for the result. http://lists.freebsd.org/pipermail/freebsd-current/2007-August/076495.html -- Regards, Pyun YongHyeon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071008072911.GG46694>