]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'macb-DMA-race-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 00:17:49 +0000 (16:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 00:17:49 +0000 (16:17 -0800)
Anssi Hannula says:

====================
net: macb: DMA race condition fixes

Here are a couple of race condition fixes for the macb driver. The first
two are for issues observed at runtime on real HW.

v2:
- added received Tested-bys and Acked-bys to the first two patches
- in patch 3/3, moved the timestamp protection barrier closer to the
  timestamp reads
- in patch 3/3, removed unnecessary move of the addr assignment in
  gem_rx() to keep the patch minimal for maximum clarity
- in patch 3/3, clarified commit message and comments

The 3/3 is the same one I improperly sent last week as a standalone
patch.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge