mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
[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>
This commit is contained in:
parent
5e57dff2c4
commit
66625984ca
@ -1135,7 +1135,7 @@ int cipso_v4_validate(unsigned char **option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
rcu_read_lock();
|
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) {
|
if (doi_def == NULL) {
|
||||||
err_offset = 2;
|
err_offset = 2;
|
||||||
goto validate_return_locked;
|
goto validate_return_locked;
|
||||||
|
Loading…
Reference in New Issue
Block a user