]> err.no Git - linux-2.6/commitdiff
[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 a60af8304073c437190249e79112dcf13b4c5b29..f3957cfaed42a5db9e7da5b19e68b6a2b3c960d4 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;