* [PATCH] AF_RXRPC: Add a missing goto
@ 2007-12-07 11:23 David Howells
2007-12-07 12:31 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2007-12-07 11:23 UTC (permalink / raw)
To: netdev; +Cc: dhowells
Add a missing goto to error handling in the RXKAD security module for AF_RXRPC.
Signed-off-by: David Howells <dhowells@redhat.com>
---
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-07 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 11:23 [PATCH] AF_RXRPC: Add a missing goto David Howells
2007-12-07 12:31 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).