summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc_sysfs.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-10-11 00:58:52 +0200
committerRoland Dreier <rolandd@cisco.com>2008-10-11 00:58:52 +0200
commit2767840a5ca73fde62b25e0209aa9269ec4fa7c7 (patch)
treeffa319b849854af05f1b8a0e46191386ab6cec4a /drivers/edac/edac_mc_sysfs.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff)
downloadlinux-2767840a5ca73fde62b25e0209aa9269ec4fa7c7.tar.xz
linux-2767840a5ca73fde62b25e0209aa9269ec4fa7c7.zip
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>
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
0 files changed, 0 insertions, 0 deletions