aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 21:08:37 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:27:21 -0500
commit66625984ca94552f75836596e0e83f3e5594bd58 (patch)
treea7763abbe0dc693138c62bfa303afca778b19369 /net/ipv4
parent5e57dff2c49956e24f27f9b6d2ec0db967680c39 (diff)
[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')
-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)
1135 } 1135 }
1136 1136
1137 rcu_read_lock(); 1137 rcu_read_lock();
1138 doi_def = cipso_v4_doi_search(ntohl(*((u32 *)&opt[2]))); 1138 doi_def = cipso_v4_doi_search(ntohl(*((__be32 *)&opt[2])));
1139 if (doi_def == NULL) { 1139 if (doi_def == NULL) {
1140 err_offset = 2; 1140 err_offset = 2;
1141 goto validate_return_locked; 1141 goto validate_return_locked;