aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;