提交 02f37050 编写于 作者: D David Howells 提交者: Linus Torvalds

RxRPC: Fix a regression in the RXKAD security module

Fix a regression in the RXKAD security module introduced in:

	commit 91e916cf
	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: NDavid Howells <dhowells@redhat.com>
Acked-with-apologies-by: NAl Viro <viro@ZenIV.linux.org.uk>
Signed-of-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f764e514
...@@ -493,8 +493,8 @@ static int rxkad_verify_packet(const struct rxrpc_call *call, ...@@ -493,8 +493,8 @@ static int rxkad_verify_packet(const struct rxrpc_call *call,
__be32 x[2]; __be32 x[2];
} tmpbuf __attribute__((aligned(8))); /* must all be in same page */ } tmpbuf __attribute__((aligned(8))); /* must all be in same page */
__be32 x; __be32 x;
u16 y;
__be16 cksum; __be16 cksum;
u32 y;
int ret; int ret;
sp = rxrpc_skb(skb); sp = rxrpc_skb(skb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册