]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: macb driver, check for SKBTX_HW_TSTAMP
authorPaul Thomas <pthomas8589@gmail.com>
Mon, 8 Apr 2019 19:37:54 +0000 (15:37 -0400)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:46 +0000 (14:21 -0300)
commita112cefbf5d8307ac8ff2d7dfafb0f2cbafa9fcf
tree95003b2ba9c995a1fcbe8096b29cad346cf8b81d
parentbdb1a2cb01b8c564c2b78a0f96233472acaa46eb
net: macb driver, check for SKBTX_HW_TSTAMP

BugLink: https://bugs.launchpad.net/bugs/1855787
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/cadence/macb_main.c