[ovs-dev] [PATCH v2 2/5] datapath-windows: Added the API for getting unused space in nlbuf.

Nithin Raju nithin at vmware.com
Fri Oct 3 21:48:47 UTC 2014


On Oct 3, 2014, at 11:34 AM, Ankur Sharma <ankursharma at vmware.com>
 wrote:

> Also, the boundary check in NlBufAt was a little weird.
> Fixed the same.
> 
> Signed-off-by: Ankur Sharma <ankursharma at vmware.com>


Pls. add a comment outside NlBufAt and at the place you make the check of (offset + bufLen) that bufLen must fall within the bounds of the used portion of the buffer.

Acked-by: Nithin Raju <nithin at vmware.com>



More information about the dev mailing list