diff options
| author | Yan Markman <[email protected]> | 2017-11-30 09:49:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-30 14:12:46 +0000 |
| commit | a154f8e399a063137fc42b961f437248d55ece29 (patch) | |
| tree | 45f0606df6b9718f9badda498e91e2788319f3e2 /net/unix/af_unix.c | |
| parent | Merge tag 'nfsd-4.15-1' of git://linux-nfs.org/~bfields/linux (diff) | |
| download | kernel-a154f8e399a063137fc42b961f437248d55ece29.tar.gz kernel-a154f8e399a063137fc42b961f437248d55ece29.zip | |
net: mvpp2: allocate zeroed tx descriptors
Reserved and unused fields in the Tx descriptors should be 0. The PPv2
driver doesn't clear them at run-time (for performance reasons) but
these descriptors aren't zeroed when allocated, which can lead to
unpredictable behaviors. This patch fixes this by using
dma_zalloc_coherent instead of dma_alloc_coherent.
Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit")
Signed-off-by: Yan Markman <[email protected]>
[Antoine: commit message]
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
