diff options
author | Yoshihiro Shimoda <[email protected]> | 2023-10-05 10:12:00 +0900 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-06 16:19:13 -0700 |
commit | e6864af61493113558c502b5cd0d754c19b93277 (patch) | |
tree | cc77dd589a0058fad55b971b3184621c7377e06e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | aba0e909dc20eceb1de985474af459f82e7b0b82 (diff) |
ravb: Fix up dma_free_coherent() call in ravb_remove()
In ravb_remove(), dma_free_coherent() should be call after
unregister_netdev(). Otherwise, this controller is possible to use
the freed buffer.
Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper")
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions