summaryrefslogtreecommitdiffstats
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-21 03:08:37 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:27:21 +0100
commit66625984ca94552f75836596e0e83f3e5594bd58 (patch)
treea7763abbe0dc693138c62bfa303afca778b19369 /net/ipv4/cipso_ipv4.c
parent[NETPOLL]: Another udp checksum mangling. (diff)
downloadlinux-66625984ca94552f75836596e0e83f3e5594bd58.tar.xz
linux-66625984ca94552f75836596e0e83f3e5594bd58.zip
[CIPSO]: Missing annotation in cipso_ipv4 update.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r--net/ipv4/cipso_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index a60af8304073..f3957cfaed42 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -1135,7 +1135,7 @@ int cipso_v4_validate(unsigned char **option)
}
rcu_read_lock();
- doi_def = cipso_v4_doi_search(ntohl(*((u32 *)&opt[2])));
+ doi_def = cipso_v4_doi_search(ntohl(*((__be32 *)&opt[2])));
if (doi_def == NULL) {
err_offset = 2;
goto validate_return_locked;