]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/core - Don't modify outgoing DR SMP if first part is LID routed
authorRalph Campbell <ralph.campbell@qlogic.com>
Wed, 17 Oct 2007 20:07:17 +0000 (13:07 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:38:10 +0000 (14:38 -0700)
commit855218b3f7c69ea9540a5159ebc0e19e6c37e51d
tree9c850bd07dc13e6b8cb26dce02a89461d404ae89
parent596c5ff4b7b31e54a565b312433fc1cbaf4095cb
IB/core - Don't modify outgoing DR SMP if first part is LID routed

The code in handle_outgoing_dr_smp() checks to see if the directed
route SMP has an initial LID routed part and correctly does not
modify the hop pointer but it then proceeds to process the packet
as if there was no initial LID routed part.  Instead, if there
is an initial LID routed part, the packet should just be sent on
to the destination and not processed further since it can't be
destined for the local SM/SMA.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/mad.c