commit | f2bcf9dd3ecf7c9340025fc0736416e1203b5e35 | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Wed Sep 23 10:36:59 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 23 12:07:54 2020 -0700 |
tree | fd863c4cb2e962901a9228f772ad3557b18555c3 | |
parent | b7ea041b2e506b17cb5ec6cbd283e6fbc83c8827 [diff] |
s390/qeth: consolidate teardown code Clarify which discipline-specific steps are needed to roll back after error in qeth_l?_set_online(), and which are common to roll back from qeth_hardsetup_card(). Some steps (cancelling the RX modeset, draining the TX queues) are only necessary if the netdev was potentially UP before, so move them to the common qeth_set_offline(). Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>