Skip to contentSkip to conversation

AF_RXRPC: Add a missing goto

PATCH Applied David Howells 2 participants 2 messages Dec 7, 2007

Subsystems (3)
lore
Share & tools
lore

David Howells

author maintainer
#0 lore raw

PATCH 1/1 AF_RXRPC: Add a missing goto

Add a missing goto to error handling in the RXKAD security module for AF_RXRPC.

---

 net/rxrpc/rxkad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/rxrpc/rxkad.c +1 -0
index e09a95a..8e69d69 100644
@@ -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)