From: Roland Dreier Date: Fri, 10 Oct 2008 22:58:52 +0000 (-0700) Subject: IPoIB: Always initialize poll_timer to avoid crash on unload X-Git-Tag: v2.6.28-rc1~61^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2767840a5ca73fde62b25e0209aa9269ec4fa7c7;p=pandora-kernel.git 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 . Debugged-by: Yosef Etigin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed