[PATCH 3/3] tap: free skb if flags error

2017-12-01 Thread wexu
From: Wei Xu tap_recvmsg() supports accepting skb by msg_control after commit 3b4ba04acca8 ("tap: support receiving skb from msg_control"), the skb if presented should be freed within the function, otherwise it would be leaked. Signed-off-by: Wei Xu

Re: [PATCH 3/3] tap: free skb if flags error

2017-12-01 Thread Michael S. Tsirkin
On Fri, Dec 01, 2017 at 05:10:38AM -0500, w...@redhat.com wrote: > From: Wei Xu > > tap_recvmsg() supports accepting skb by msg_control after > commit 3b4ba04acca8 ("tap: support receiving skb from msg_control"), > the skb if presented should be freed within the function,

Re: [PATCH 3/3] tap: free skb if flags error

2017-11-30 Thread Jason Wang
On 2017年12月01日 13:54, w...@redhat.com wrote: From: Wei Xu tap_recvmsg() supports accepting skb by msg_control after commit 3b4ba04acca8 ("tap: support receiving skb from msg_control"), the skb if presented should be freed within the function, otherwise it would be leaked.