]> git.openfabrics.org - ~ardavis/dapl.git/commit
scm: backward compatibility issue with MTU negotiation
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 17 Mar 2016 23:06:35 +0000 (16:06 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 17 Mar 2016 23:06:35 +0000 (16:06 -0700)
commita0c9ca3b0624453e337e863b83d3c9826e502c38
tree82ad8da6b0283f951e91cb049b4e7b19b0ef294c
parent2847e3b2e10b77bdba26a78c09ed3a5223e08456
scm: backward compatibility issue with MTU negotiation

The scm provider builds the CM reply message on stack
and doesnt memset to zero so resv fields are unknown.
The client cannot check mtu/resv field for MTU adjustments.
Bump provider CM message version to DCM_VER_MTU and add
check for appropriate version.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_common/dapl_ib_common.h
dapl/openib_scm/cm.c