Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2008 01:38:46 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        pyunyh@gmail.com, freebsd-current@freebsd.org
Subject:   Re: CFT: vr(4)
Message-ID:  <200802160638.m1G6cSX1088707@lava.sentex.ca>
In-Reply-To: <20071008061758.GF46694@cdnetworks.co.kr>
References:  <20071008061758.GF46694@cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

         ---Mike



>--
>Regards,
>Pyun YongHyeon
>
>
>_______________________________________________
>freebsd-current@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




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