From: David Howells Date: Fri, 7 Dec 2007 12:31:47 +0000 (-0800) Subject: [AF_RXRPC]: Add a missing goto X-Git-Tag: v2.6.24-rc5~52^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa9cb320e8081fbaec0c10eb0e077c8ca4d1ad9;p=linux-2.6 [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 Signed-off-by: David S. Miller --- diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index e09a95aa68..8e69d69938 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)