aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorIvan Khoronzhuk <[email protected]>2017-06-27 16:58:52 +0300
committerDavid S. Miller <[email protected]>2017-06-29 12:28:57 -0400
commitf44f8417baef9dcd8533a706691dadbda219ef82 (patch)
tree0b79f17015fad55352905084f746bae7b6267465 /lib/memory-notifier-error-inject.c
parent98fdd857a3bd6a3bf0003d3f68f07c25c85dcde3 (diff)
net: ethernet: ti: cpsw: fix sw timestamping for non PTP packets
The cpts can timestmap only ptp packets at this moment, so driver cannot mark every packet as though it's going to be timestamped, only because h/w timestamping for given skb is enabled with SKBTX_HW_TSTAMP. It doesn't allow to use sw timestamping, as result outgoing packet is not timestamped at all if it's not PTP and h/w timestamping is enabled. So, fix it by setting SKBTX_IN_PROGRESS only for PTP packets. Signed-off-by: Ivan Khoronzhuk <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions