CFT: vr(4)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pyun YongHyeon
Subject: CFT: vr(4)
Date: Sunday, October 7, 2007 - 11:17 pm

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.

-- 
Regards,
Pyun YongHyeon
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CFT: vr(4), Pyun YongHyeon, (Sun Oct 7, 11:17 pm)
Re: CFT: vr(4), Bjoern A. Zeeb, (Mon Oct 8, 12:04 am)
Re: CFT: vr(4), Pyun YongHyeon, (Mon Oct 8, 12:29 am)
Re: CFT: vr(4), Mike Tancsa, (Fri Feb 15, 11:38 pm)
Re: CFT: vr(4), Pyun YongHyeon, (Sat Feb 16, 11:41 pm)