Skip to content

Commit

Permalink
RxRPC: Fix a regression in the RXKAD security module
Browse files Browse the repository at this point in the history
Fix a regression in the RXKAD security module introduced in:

	commit 91e916c
	Author: Al Viro <viro@ftp.linux.org.uk>
	Date:   Sat Mar 29 03:08:38 2008 +0000

	net/rxrpc trivial annotations

A variable was declared as a 16-bit type rather than a 32-bit type.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-with-apologies-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-of-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Howells authored and Linus Torvalds committed Apr 24, 2008
1 parent f764e51 commit 02f3705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/rxrpc/rxkad.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ static int rxkad_verify_packet(const struct rxrpc_call *call,
__be32 x[2];
} tmpbuf __attribute__((aligned(8))); /* must all be in same page */
__be32 x;
u16 y;
__be16 cksum;
u32 y;
int ret;

sp = rxrpc_skb(skb);
Expand Down

0 comments on commit 02f3705

Please sign in to comment.