Code Review
/
vtn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7b6ddfa
)
Set IPC timeout as infinite for Audit Operations
01/3501/1
author
surya.s
<surya.s@hcl.com>
Thu, 5 Dec 2013 13:47:10 +0000
(19:17 +0530)
committer
surya.s
<surya.s@hcl.com>
Thu, 5 Dec 2013 13:47:10 +0000
(19:17 +0530)
Change-Id: I361861ecfcf2653f62c6fa3cf3d6e640436987bb
Signed-off-by: surya.s <surya.s@hcl.com>
coordinator/modules/vtndrvintf/vtn_drv_module.cc
patch
|
blob
|
history
diff --git
a/coordinator/modules/vtndrvintf/vtn_drv_module.cc
b/coordinator/modules/vtndrvintf/vtn_drv_module.cc
index 176c1f461a239f15158115b6364f75ec83407e37..4e9126793d311d61acb5e67a28f4c31483230689 100644
(file)
--- a/
coordinator/modules/vtndrvintf/vtn_drv_module.cc
+++ b/
coordinator/modules/vtndrvintf/vtn_drv_module.cc
@@
-188,6
+188,11
@@
pfc_ipcresp_t VtnDrvIntf::ipcService(pfc::core::ipc::ServerSession& sess,
return PFC_IPCRESP_FATAL;
}
+ // Set Timeout as infinite for audit operation
+ if (request_hdr.key_type == UNC_KT_ROOT) {
+ sess.setTimeout(NULL);
+ }
+
resp_code = hnd_ptr->handle_request(sess, request_hdr, ctrl_inst_);
if (resp_code != DRVAPI_RESPONSE_SUCCESS) {
pfc_log_debug("handle_request fail for key:%d", request_hdr.key_type);