[LU-7274] gss_do_ctx_fini_rpc() passes an already freed request to ptlrpc_req_finished() Created: 08/Oct/15 Updated: 16/Jan/16 Resolved: 18/Dec/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy, gssapi, ptlrpc | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
req = ptlrpc_request_alloc(imp, &RQF_SEC_CTX);
if (req == NULL) {
CWARN("ctx %p(%u): fail to prepare rpc, destroy locally\n",
ctx, ctx->cc_vcred.vc_uid);
GOTO(out, rc = -ENOMEM);
}
rc = ptlrpc_request_bufs_pack(req, LUSTRE_OBD_VERSION, SEC_CTX_FINI,
NULL, ctx);
if (rc) {
ptlrpc_request_free(req);
GOTO(out_ref, rc);
}
...
out_ref:
ptlrpc_req_finished(req);
out:
RETURN(rc);
}
|
| Comments |
| Comment by Gerrit Updater [ 11/Dec/15 ] |
|
akam kumar bharathi (azurelustre@gmail.com) uploaded a new patch: http://review.whamcloud.com/17574 |
| Comment by Gerrit Updater [ 18/Dec/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17574/ |
| Comment by Joseph Gmitter (Inactive) [ 18/Dec/15 ] |
|
Landed for 2.8 |