]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/core: Namespace is mandatory input for address resolution
authorMoni Shoua <monis@mellanox.com>
Tue, 23 May 2017 07:48:44 +0000 (10:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 17 Jul 2017 15:45:34 +0000 (11:45 -0400)
commitbebb2a473a43c8f84a8210687d1cbdde503046d7
tree39eab06ae863eae1ceb6a35aec02c065da35dfa5
parentc8c16d3bae967f1c7af541e8d016e5c51e4f010a
IB/core: Namespace is mandatory input for address resolution

In function addr_resolve() the namespace is a required input parameter
and not an output. It is passed later for searching the routing table
and device addresses. Also, it shouldn't be copied back to the caller.

Fixes: 565edd1d5555 ('IB/addr: Pass network namespace as a parameter')
Cc: <stable@vger.kernel.org> # v4.3+
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/addr.c