Re: The ubufs->refcount maybe be subtracted twice when tun_get_user failed
From: Jason Wang <hidden> Date: 2016-11-30 05:24:08
On 2016年11月30日 10:53, Jason Wang wrote:
On 2016年11月29日 21:27, wangyunjian wrote:
quoted
Sorry, I didn't describe it clearly. In fact, the second subtraction
happens in the function handle_tx,
when tun_get_user fails and zcopy_used is ture. Fllowing the steps:
I get your meaning. Thanks for the reporting. Will post patches (since
macvtap has similar issue).
Posted, appreciate if you can have a test on them.
Thanks