[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-cifs-client
Subject:    [linux-cifs-client] [PATCH] [CIFS] Remove mem dump of key payload
From:       Jeff Layton <jlayton () redhat ! com>
Date:       2007-12-15 16:50:24
Message-ID: 1197737424-8213-1-git-send-email-jlayton () redhat ! com
[Download RAW message or body]

Now that SPNEGO upcalls are generally working, there's little need to dump
the key payload to the ring buffer when cifsFYI is turned up. It could
complicate later debugging (particularly if the key payload is large).

Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
 fs/cifs/cifs_spnego.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/fs/cifs/cifs_spnego.c b/fs/cifs/cifs_spnego.c
index 1529d2b..83a426e 100644
--- a/fs/cifs/cifs_spnego.c
+++ b/fs/cifs/cifs_spnego.c
@@ -121,13 +121,6 @@ cifs_get_spnego_key(struct cifsSesInfo *sesInfo)
 
 	cFYI(1, ("key description = %s", description));
 	spnego_key = request_key(&cifs_spnego_key_type, description, "");
-
-	if (cifsFYI && !IS_ERR(spnego_key)) {
-		struct cifs_spnego_msg *msg = spnego_key->payload.data;
-		cifs_dump_mem("SPNEGO reply blob:", msg->data,
-				msg->secblob_len + msg->sesskey_len);
-	}
-
 out:
 	kfree(description);
 	return spnego_key;
-- 
1.5.3.6

_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@lists.samba.org
https://lists.samba.org/mailman/listinfo/linux-cifs-client
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic