net: macb driver, check for SKBTX_HW_TSTAMP
authorPaul Thomas <pthomas8589@gmail.com>
Mon, 8 Apr 2019 19:37:54 +0000 (15:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:38:20 +0000 (15:38 +0100)
commitc19b9c45fc58396b6e443381153911cdf48bbc28
tree19611f501a58e166ca80b7c6174b107e2ed12e1c
parent1e23d6338d76bb24a4a02210db17e805de3b8974
net: macb driver, check for SKBTX_HW_TSTAMP

commit a62520473f15750cd1432d36b377a06cd7cff8d2 upstream.

Make sure SKBTX_HW_TSTAMP (i.e. SOF_TIMESTAMPING_TX_HARDWARE) has been
enabled for this skb. It does fix the issue where normal socks that
aren't expecting a timestamp will not wake up on select, but when a
user does want a SOF_TIMESTAMPING_TX_HARDWARE it does work.

Signed-off-by: Paul Thomas <pthomas8589@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/cadence/macb_main.c