net: macb driver, check for SKBTX_HW_TSTAMP
authorPaul Thomas <pthomas8589@gmail.com>
Mon, 8 Apr 2019 19:37:54 +0000 (15:37 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 23:38:23 +0000 (16:38 -0700)
commita62520473f15750cd1432d36b377a06cd7cff8d2
tree7541ee89ab3db6a604f8c1ea122fa5c4791e89af
parent738de00cda52e20c197fe4813b089e4fe5312b22
net: macb driver, check for SKBTX_HW_TSTAMP

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>
drivers/net/ethernet/cadence/macb_main.c