commit | 0b3ca768fcb07338c99df5e3ccec99119435e321 | [log] [tgz] |
---|---|---|
author | Haggai Eran <haggaie@mellanox.com> | Thu Jul 30 17:50:24 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Sun Aug 30 15:48:24 2015 -0400 |
tree | 66777b5676c83b96effc21f12b687b3c7cea75b3 | |
parent | f887f2ac87c25124a90adf97d76b258eba6295cb [diff] |
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>