diff options
| author | Willem de Bruijn <[email protected]> | 2017-12-13 19:41:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-12-15 16:30:36 +0000 |
| commit | 35b99dffc3f710cafceee6c8c6ac6a98eb2cb4bf (patch) | |
| tree | 200b606f78748bd6db248d625e848de6afdc3620 /fs/jbd2/commit.c | |
| parent | Merge branch 's390-fixes' (diff) | |
| download | kernel-35b99dffc3f710cafceee6c8c6ac6a98eb2cb4bf.tar.gz kernel-35b99dffc3f710cafceee6c8c6ac6a98eb2cb4bf.zip | |
sock: free skb in skb_complete_tx_timestamp on error
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 Cochran <[email protected]>
Signed-off-by: Willem de Bruijn <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
