Re: CFT: vr(4)

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Mon, 8 Oct 2007 07:04:32 +0000 (UTC)
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_at_ a few weeks ago. That had a patch
attached as well. What about that?

-- 
Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
Software is harder than hardware  so better get it right the first time.
Received on Mon Oct 08 2007 - 05:05:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC