IB/cma: Use found net_dev for passive connections
authorHaggai Eran <haggaie@mellanox.com>
Thu, 30 Jul 2015 14:50:24 +0000 (17:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 19:48:24 +0000 (15:48 -0400)
commit0b3ca768fcb07338c99df5e3ccec99119435e321
tree66777b5676c83b96effc21f12b687b3c7cea75b3
parentf887f2ac87c25124a90adf97d76b258eba6295cb
IB/cma: Use found net_dev for passive connections

When receiving a new connection in cma_req_handler, we actually already
know the net_dev that is used for the connection's creation. Instead of
calling cma_translate_addr to resolve the new connection id's source
address, just use the net_dev that was found.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
This page took 0.033697 seconds and 5 git commands to generate.