CFT: vr(4)

Pyun YongHyeon pyunyh at gmail.com
Mon Oct 8 00:33:01 PDT 2007


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


More information about the freebsd-current mailing list