]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95af7184b6c057bedeeadb9144d4bfa1f83596c0
tree66777b5676c83b96effc21f12b687b3c7cea75b3
parent40650aa863c27246bc517c7fa45319d4f2c468be
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