]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/ipoib: change init sequence ordering
authorDoug Ledford <dledford@redhat.com>
Sun, 22 Feb 2015 00:27:00 +0000 (19:27 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 15 Apr 2015 20:06:17 +0000 (16:06 -0400)
commitbe7aa663fc1d9156798f5af3c60e6df45e1fe5de
treeb359b4429be35816f0abf9889942e02933c59e84
parente135106fac9525352feb8e49077c8f46c3eaf288
IB/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>
drivers/infiniband/ulp/ipoib/ipoib_main.c