Re: [PATCH net] sock: free skb in skb_complete_tx_timestamp on error

2017-12-15 Thread David Miller
From: Willem de Bruijn Date: Wed, 13 Dec 2017 14:41:06 -0500 > From: Willem de Bruijn > > skb_complete_tx_timestamp must ingest the skb it is passed. Call > kfree_skb if the skb cannot be enqueued. > > Fixes: b245be1f4db1 ("net-timestamp: no-payload only sysctl") > Fixes: 9ac25fc06375 ("net: f

Re: [PATCH net] sock: free skb in skb_complete_tx_timestamp on error

2017-12-13 Thread Eric Dumazet
On Wed, 2017-12-13 at 14:41 -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > skb_complete_tx_timestamp must ingest the skb it is passed. Call > kfree_skb if the skb cannot be enqueued. > > Fixes: b245be1f4db1 ("net-timestamp: no-payload only sysctl") > Fixes: 9ac25fc06375 ("net: fix s

[PATCH net] sock: free skb in skb_complete_tx_timestamp on error

2017-12-13 Thread Willem de Bruijn
From: Willem de Bruijn skb_complete_tx_timestamp must ingest the skb it is passed. Call kfree_skb if the skb cannot be enqueued. Fixes: b245be1f4db1 ("net-timestamp: no-payload only sysctl") Fixes: 9ac25fc06375 ("net: fix socket refcounting in skb_complete_tx_timestamp()") Reported-by: Richard