IB/ucma: Take the network namespace from the process
authorGuy Shapiro <guysh@mellanox.com>
Thu, 22 Oct 2015 12:20:11 +0000 (15:20 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 28 Oct 2015 16:32:48 +0000 (12:32 -0400)
commit95893dde99d9d14f8a6ac99ea3103792a8da5f25
treee2553696f8abf64abb7ccfb4583e58a784dc78da
parentfa20105e09e97e81aadf02f722c31195e4a75c84
IB/ucma: Take the network namespace from the process

Add support for network namespaces from user space. This is done by passing
the network namespace of the process instead of init_net.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Yotam Kenneth <yotamke@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Signed-off-by: Guy Shapiro <guysh@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/ucma.c