aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLino Sanfilippo <LinoSanfilippo@gmx.de>2016-03-27 12:22:02 +0200
committerDavid S. Miller <davem@davemloft.net>2016-03-27 22:41:37 -0400
commitd7be81a5916bdb1d904803958e5991a16f7ae4b2 (patch)
treedc5dc7811f37e04cf4762b0a6c53ecd705cf7f6e /net
parentnet: sxgbe: fix error paths in sxgbe_platform_probe() (diff)
downloadlinux-dev-d7be81a5916bdb1d904803958e5991a16f7ae4b2.tar.xz
linux-dev-d7be81a5916bdb1d904803958e5991a16f7ae4b2.zip
ravb: fix software timestamping
In ravb_start_xmit dont call skb_tx_timestamp only when hardware timestamping is requested: in the latter case software timestamps are suppressed and thus the call of skb_tx_timestamp does not have any effect. Instead call skb_tx_timestamp unconditionally in ravb_start_xmit, since the function checks itself if software timestamping is required or should be skipped due to hardware timestamping. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions