diff options
Diffstat (limited to 'xlators/protocol')
| -rw-r--r-- | xlators/protocol/server/src/server-handshake.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-handshake.c b/xlators/protocol/server/src/server-handshake.c index 7ee12c49076..40cc684e1ba 100644 --- a/xlators/protocol/server/src/server-handshake.c +++ b/xlators/protocol/server/src/server-handshake.c @@ -700,7 +700,7 @@ fail:           * list of connections the server is maintaining and might segfault           * during statedump when bound_xl of the connection is accessed.           */ -        if (op_ret && !xl) { +        if (op_ret && !xl && (client != NULL)) {                  /* We would have set the xl_private of the transport to the                   * @conn. But if we have put the connection i.e shutting down                   * the connection, then we should set xl_private to NULL as it  | 
