RDMA/ocrdma: Unregister inet notifier when unloading ocrdma
authorSelvin Xavier <selvin.xavier@emulex.com>
Tue, 18 Mar 2014 09:24:56 +0000 (14:54 +0530)
committerRoland Dreier <roland@purestorage.com>
Thu, 3 Apr 2014 15:30:07 +0000 (08:30 -0700)
commit2d8f57d56f5850a75d6225519e77f75ad9949f25
tree02d1a468e68125d921f040339892e9fb95d49939
parent7a1e89d8b793feda96754fd3ba5079c4ba3862ee
RDMA/ocrdma: Unregister inet notifier when unloading ocrdma

Unregister the inet notifier during ocrdma unload to avoid a panic after
driver unload.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_main.c