Hi Alexander, Thanks for your reply. It's my bad, I'll follow your suggestion in v4 patch: 1. keep 'buf' as it defined before. 2. resolve memory leak as your suggestion. 3. make 'bytes_not_copied' as a return value for error path.
Thanks again, Kunwu On 2023/12/4 20:51, Alexander Lobakin wrote:
This is unneeded.
_______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan