From: Al Viro Date: Tue, 21 Nov 2006 02:08:37 +0000 (-0800) Subject: [CIPSO]: Missing annotation in cipso_ipv4 update. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66625984ca94552f75836596e0e83f3e5594bd58;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [CIPSO]: Missing annotation in cipso_ipv4 update. Signed-off-by: Al Viro Signed-off-by: David S. Miller --- 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;