[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:
Al Viro
2006-09-27 18:28:07 -07:00
committed by David S. Miller
parent 7f25afbbef
commit 3ca3c68e76
7 changed files with 8 additions and 8 deletions

View File

@@ -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];