summaryrefslogtreecommitdiff
path: root/include/uapi/linux/dvb
diff options
context:
space:
mode:
authorManfred Rudigier <Manfred.Rudigier@omicron.at>2016-01-20 11:22:28 +0100
committerLuis Henriques <luis.henriques@canonical.com>2016-03-09 10:38:49 +0000
commitcd3ab58f44504d2ef0efb31017f0d471d20af3fa (patch)
treebdc320e584612a06ef676cf32a2b82e4ebc364e0 /include/uapi/linux/dvb
parentdb729fa3f3ffe02c6cc6eb235a9eb4ca4a5e60f6 (diff)
net: dp83640: Fix tx timestamp overflow handling.
commit 81e8f2e930fe76b9814c71b9d87c30760b5eb705 upstream. PHY status frames are not reliable, the PHY may not be able to send them during heavy receive traffic. This overflow condition is signaled by the PHY in the next status frame, but the driver did not make use of it. Instead it always reported wrong tx timestamps to user space after an overflow happened because it assigned newly received tx timestamps to old packets in the queue. This commit fixes this issue by clearing the tx timestamp queue every time an overflow happens, so that no timestamps are delivered for overflow packets. This way time stamping will continue correctly after an overflow. Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/uapi/linux/dvb')
0 files changed, 0 insertions, 0 deletions