diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-07-23 16:29:30 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-25 19:38:56 -0700 |
commit | 7028471edb646bfc532fec0973e50e784cdcb7c6 (patch) | |
tree | 0de420867e9a880f928c1f29e1fd2904dddd2f66 /crypto/echainiv.c | |
parent | f9ec5723c3dbfcede9c7b0dcdf85e401ce16316c (diff) | |
download | linux-7028471edb646bfc532fec0973e50e784cdcb7c6.tar.bz2 |
net: ethernet: stmicro: stmmac: first disable all queues and disconnect in release
Disable all queues and disconnect before tx_disable in stmmac_release to
prevent a corner case where packet may be still queued at the same time
tx_disable is called resulting in kernel panic if some packet still has
to be processed.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/echainiv.c')
0 files changed, 0 insertions, 0 deletions