[openib-general] [PATCH 0/2] ib_cm: fix REJ on cm_id destruction

Arne Redlich arne.redlich at xiranet.com
Tue Jul 18 06:53:35 PDT 2006


This patchset against the svn trunk fixes the CM's behaviour in case of
errors during REQ message processing. Currently, this will lead to the
cm_id being destroyed after sending (in most cases) a
IB_CM_CONSUMER_REJ. The latter is not always desirable because the
remote side might actually rely on the "correct" reject reason.

#1 prepares (actually: cleans up) cm_destroy_id().
#2 rejects REQs with invalid GIDs using an appropriate REJ reason.
Depends on #1.

Please note that these patches are merely compile tested. However, a
different version against the current mainline kernel behaves as
expected.

Thanks,
Arne
-- 
Arne Redlich
Xiranet Communications GmbH





More information about the general mailing list