[AF_RXRPC]: Add a missing goto

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, December 7, 2007 - 12:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4aa9cb...
Commit:     4aa9cb320e8081fbaec0c10eb0e077c8ca4d1ad9
Parent:     e35de02615f97b785dc6f73cba421cea06bcbd10
Author:     David Howells <dhowells@redhat.com>
AuthorDate: Fri Dec 7 04:31:47 2007 -0800
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Fri Dec 7 04:31:47 2007 -0800

    [AF_RXRPC]: Add a missing goto
    
    Add a missing goto to error handling in the RXKAD security module for
    AF_RXRPC.
    
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/rxrpc/rxkad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c
index e09a95a..8e69d69 100644
--- a/net/rxrpc/rxkad.c
+++ b/net/rxrpc/rxkad.c
@@ -1021,6 +1021,7 @@ static int rxkad_verify_response(struct rxrpc_connection *conn,
 
 	abort_code = RXKADINCONSISTENCY;
 	if (version != RXKAD_VERSION)
+		goto protocol_error;
 
 	abort_code = RXKADTICKETLEN;
 	if (ticket_len < 4 || ticket_len > MAXKRB5TICKETLEN)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[AF_RXRPC]: Add a missing goto, Linux Kernel Mailing ..., (Fri Dec 7, 12:59 pm)