]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
IPoIB: change init sequence ordering
authorDoug Ledford <dledford@redhat.com>
Wed, 10 Dec 2014 16:47:02 +0000 (11:47 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:11:15 +0000 (18:11 -0800)
commit3bcce487fda8161597c20ed303d510e41ad7770e
tree0f36ea1c32ea745e2efd51d36940f382ab28bd5e
parente5d1dcf1b0951f4ba00d93653942dda6196109d8
IPoIB: change init sequence ordering

In preparation for using per device work queues, we need to move the
start of the neighbor thread task to after ipoib_ib_dev_init and move
the destruction of the neighbor task to before ipoib_ib_dev_cleanup.
Otherwise we will end up freeing our workqueue with work possibly
still on it.

Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c