Re: [PATCH] tap-win32: correctly recycle buffers

2021-04-01 Thread Jason Wang
在 2021/3/29 上午11:01, Bin Meng 写道: On Mon, Mar 29, 2021 at 10:20 AM Jason Wang wrote: Commit 969e50b61a28 ("net: Pad short frames to minimum size before sending from SLiRP/TAP") tries to pad frames but try to recyle the local array that is used for padding to tap thread. This patch fixes this

Re: [PATCH] tap-win32: correctly recycle buffers

2021-03-28 Thread Bin Meng
On Mon, Mar 29, 2021 at 10:20 AM Jason Wang wrote: > > Commit 969e50b61a28 ("net: Pad short frames to minimum size before > sending from SLiRP/TAP") tries to pad frames but try to recyle the > local array that is used for padding to tap thread. This patch fixes > this by recyling the original buff

[PATCH] tap-win32: correctly recycle buffers

2021-03-28 Thread Jason Wang
Commit 969e50b61a28 ("net: Pad short frames to minimum size before sending from SLiRP/TAP") tries to pad frames but try to recyle the local array that is used for padding to tap thread. This patch fixes this by recyling the original buffer. Fixes: 969e50b61a28 ("net: Pad short frames to minimum si