]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Restore MM behavior in case of tx_ring allocation failure
authorYuval Shaia <yuval.shaia@oracle.com>
Wed, 13 Dec 2017 10:25:19 +0000 (12:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 Dec 2017 17:31:57 +0000 (10:31 -0700)
commit94387773343e08a1885a506ef5fd0c0cd01507ae
treeacb548ca9679b56978a5bafdb08f85d3e79f85c7
parent20e7a50f35c5ddf324b281f91b037a0a4c518f22
IB/ipoib: Restore MM behavior in case of tx_ring allocation failure

memalloc_noio_save modifies the behavior of MM, we must restore it after
we are done.

Fixes: 762b7d7caa39 ("IB/IPoIB: Convert IPoIB to memalloc_noio_* calls")
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c