summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-10-10 22:58:52 (GMT)
committerRoland Dreier <rolandd@cisco.com>2008-10-10 22:58:52 (GMT)
commit2767840a5ca73fde62b25e0209aa9269ec4fa7c7 (patch)
treeffa319b849854af05f1b8a0e46191386ab6cec4a /drivers/rtc
parentf6bccf695431da0e9bd773550ae91b8cb9ffb227 (diff)
downloadlinux-fsl-qoriq-2767840a5ca73fde62b25e0209aa9269ec4fa7c7.tar.xz
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/rtc')
0 files changed, 0 insertions, 0 deletions