From: David Howells Date: Thu, 24 Apr 2008 19:38:56 +0000 (+0100) Subject: RxRPC: Fix a regression in the RXKAD security module X-Git-Tag: MMI-PSA29.97-13-9~35550 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02f370506822cbff60bbf5b685053fa2e8640811;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git RxRPC: Fix a regression in the RXKAD security module Fix a regression in the RXKAD security module introduced in: commit 91e916cffec7c0153c5cbaa447151862a7a9a047 Author: Al Viro 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 Acked-with-apologies-by: Al Viro Signed-of-by: Linus Torvalds --- diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index 6d38a81b336d..ba3f6e49fddc 100644 --- a/net/rxrpc/rxkad.c +++ b/net/rxrpc/rxkad.c @@ -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);