Roland Dreier 2767840a5c IPoIB: Always initialize poll_timer to avoid crash on unload
ipoib_ib_dev_stop() does del_timer_sync(&priv->poll_timer), but if a
P_key for an interface is not found, poll_timer is not initialized, so
this leads to a crash or hang.  Fix this by moving where poll_timer is
initialized to ipoib_ib_dev_init(), which is always called.

This fixes <https://bugs.openfabrics.org/show_bug.cgi?id=1172>.

Debugged-by: Yosef Etigin <yosefe@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-10-10 15:58:52 -07:00
..
2008-10-09 08:57:05 +02:00
2008-08-19 18:47:56 +02:00
2008-08-26 00:19:28 +10:00
2008-09-30 09:57:22 +02:00
2008-10-09 15:33:57 +02:00
2008-10-09 08:56:01 +02:00
2008-10-03 09:18:17 -07:00
2008-08-04 12:51:06 +09:00
2008-08-13 17:33:00 -07:00