summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-08-04 18:36:22 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-05 13:27:04 +0300
commit10cc73c4b7feaa74abfbead404ae4eb28ba60310 (patch)
tree733a55adfbe29f7552e9e30c6cb2761a58af5f3a /tools/perf/scripts/python
parent30c2515b89f1a6361170961e72bebd375f611b9b (diff)
downloadlinux-10cc73c4b7feaa74abfbead404ae4eb28ba60310.tar.xz
net: ipa: reorder netdev pointer assignments
Assign the ipa->modem_netdev and endpoint->netdev pointers *before* registering the network device. As soon as the device is registered it can be opened, and by that time we'll want those pointers valid. Similarly, don't make those pointers NULL until *after* the modem network device is unregistered in ipa_modem_stop(). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions