Skip to content

Commit

Permalink
[AF_RXRPC]: Add a missing goto
Browse files Browse the repository at this point in the history
Add a missing goto to error handling in the RXKAD security module for
AF_RXRPC.

Signed-off-by: David Howells <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
dhowells authored and davem330 committed Dec 7, 2007
1 parent e35de02 commit 4aa9cb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/rxrpc/rxkad.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4aa9cb3

Please sign in to comment.