]> git.baikalelectronics.ru Git - kernel.git/commit
dp83640: Prune rx timestamp list before reading from it
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Tue, 3 Nov 2015 08:34:06 +0000 (09:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 16:08:21 +0000 (11:08 -0500)
commit4778bc0df3f9055529557bd2e34cc8f1be9542be
tree91e7669d70a7a843e2a81e440bf465b8ba5fecf8
parent469057c8f3b55127a4fc5784c30c6a113e2ecfa6
dp83640: Prune rx timestamp list before reading from it

The list of rx timestamps are currently only pruned of old entries when a
new entry is inserted. If no new entries are added, old timestamps may
survive beyond their lifetime, possible causing them to be attached to
packets with the same sequence number after a rollover.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c