Whamcloud - gitweb
Revert "LU-3333 ptlrpc: Protect request buffer changing" 52/10052/3
authorOleg Drokin <oleg.drokin@intel.com>
Tue, 22 Apr 2014 17:06:19 +0000 (17:06 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 23 Apr 2014 19:14:05 +0000 (19:14 +0000)
commited3d0669da25b47fb35180019a43820d20a30a71
treec38e763a9370122d7e2dcdf3d2a74c30d0bedf1f
parent47a6999b6a54218ba68ed5d716f85bcc9c91b9ef
Revert "LU-3333 ptlrpc: Protect request buffer changing"

It turns out that sec_null message format is is not double wrapped
like sec_plain and sec_gss cases. As such a conversion from rq_buf
to rq_msg is different in those cases.
The older way of doing in-place locking seems to be the way to go
here I think.

This reverts commit b2bb3b247d1dc75e25f1b5c14a333905909b5e70.

Change-Id: Icd84a696aafed17a275d0576dad639b929618190
Reviewed-on: http://review.whamcloud.com/10052
Tested-by: Jenkins
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/gss/sec_gss.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/ptlrpc_internal.h
lustre/ptlrpc/sec_null.c
lustre/ptlrpc/sec_plain.c