[CIPSO]: Missing annotation in cipso_ipv4 update.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 02:08:37 +0000 (18:08 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:21 +0000 (21:27 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/cipso_ipv4.c

index a60af83..f3957cf 100644 (file)
@@ -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;