]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
RxRPC: Fix a regression in the RXKAD security module
authorDavid Howells <dhowells@redhat.com>
Thu, 24 Apr 2008 19:38:56 +0000 (20:38 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Apr 2008 20:46:53 +0000 (13:46 -0700)
Fix a regression in the RXKAD security module introduced in:

commit 91e916cffec7c0153c5cbaa447151862a7a9a047
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>
net/rxrpc/rxkad.c

index 6d38a81b336d50e89942637f8ad8b715c2a0ae7f..ba3f6e49fddc59164fed12773b483ee699aa1a3d 100644 (file)
@@ -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);