OSDN Git Service

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 08:21:32 +0000 (09:21 +0100)
commitcabf7f90ced5088d16820221c9301c872a7a2a5d
treeaa48946381c5d333ac1230fb4a1401918b341ff6
parente8d59efd8ef9f1d2f3a79d41c16b9a01fea4be38
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