summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2017-12-13 20:41:06 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-15 17:30:36 +0100
commit35b99dffc3f710cafceee6c8c6ac6a98eb2cb4bf (patch)
tree200b606f78748bd6db248d625e848de6afdc3620 /net/rfkill
parentMerge branch 's390-fixes' (diff)
downloadlinux-35b99dffc3f710cafceee6c8c6ac6a98eb2cb4bf.tar.xz
linux-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 <richardcochran@gmail.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions