CFT: vr(4)
Pyun YongHyeon
pyunyh at gmail.com
Sun Feb 17 06:42:04 UTC 2008
On Sat, Feb 16, 2008 at 01:38:46AM -0500, Mike Tancsa wrote:
> At 01:17 AM 10/8/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.
>
> Its been working quite well on 3 Soekris 5501 boards! It would be
> great to see these fixes committed.
>
I'll commit it in a week.
Thanks a lot for your time/testing!
--
Regards,
Pyun YongHyeon
More information about the freebsd-current
mailing list