IPoIB: fix error handling in ipoib_open
authorRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 18:55:58 +0000 (10:55 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 18:55:58 +0000 (10:55 -0800)
commit267ee88ed34c76dc527eeb3d95f9f9558ac99973
tree1f53cd0db55372192cc088788dadbed102845a17
parent4f71055a45a503273c039d80db8ba9b13cb17549
IPoIB: fix error handling in ipoib_open

If ipoib_ib_dev_up() fails after ipoib_ib_dev_open() is called, then
ipoib_ib_dev_stop() needs to be called to clean up.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c