On Sat, Jun 29, 2019 at 02:03:14PM +0800, yuan linyu wrote: > in the loop, if get a descriptor which is not desired type, > the buf will be not clean. > caller check return length to decide success or not. I'm sorry, but I can not understand these sentances at all. How does this relate to remiving a memset() call? Why do you need to, or want to, remove it? What does this fix? thanks, greg k-h