diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2020-09-05 02:51:31 +0300 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-06 19:49:43 +0200 |
commit | ce3b135243ea6f313eb768a23000a436b8a7b2cc (patch) | |
tree | 74848ecd91b2fc5b8232e85fc01fec77ad5ffd50 /target/linux/ipq40xx/image | |
parent | 36e06497f4612a8b7b341dc3834c7281ac8a9b27 (diff) | |
download | upstream-ce3b135243ea6f313eb768a23000a436b8a7b2cc.tar.gz upstream-ce3b135243ea6f313eb768a23000a436b8a7b2cc.tar.bz2 upstream-ce3b135243ea6f313eb768a23000a436b8a7b2cc.zip |
ath25: eth: fix crash on skb DMA (un-)map
AR2315 Ethernet driver pass NULL instead of a real device pointer to DMA
(un-)map calls. With kernel version 5.4 such behaviour causes a kernel
panic. Fix this issue by preserving device pointer during the probe
procedure and pass it to each skb data DMA (un-)map call.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/image')
0 files changed, 0 insertions, 0 deletions