[IPV4]: struct ip_options annotations
->faddr is net-endian; annotated as such, variables inferred to be net-endian annotated. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -165,7 +165,7 @@ int ip_options_echo(struct ip_options * dopt, struct sk_buff * skb)
|
||||
}
|
||||
if (sopt->srr) {
|
||||
unsigned char * start = sptr+sopt->srr;
|
||||
u32 faddr;
|
||||
__be32 faddr;
|
||||
|
||||
optlen = start[1];
|
||||
soffset = start[2];
|
||||
|
Reference in New Issue
Block a user