diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-28 05:28:07 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-29 05:01:53 +0400 |
commit | 3ca3c68e76686bee058937ade2b96f4de58ee434 (patch) | |
tree | 13319a2f2a7f53c41746a32a5635254c157fe87e /net/ipv4/ip_options.c | |
parent | 7f25afbbefb266520a237df0e9b59112704a7a42 (diff) | |
download | linux-3ca3c68e76686bee058937ade2b96f4de58ee434.tar.xz |
[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>
Diffstat (limited to 'net/ipv4/ip_options.c')
-rw-r--r-- | net/ipv4/ip_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_options.c b/net/ipv4/ip_options.c index 889e14180b04..3e6d3d4e50d4 100644 --- a/net/ipv4/ip_options.c +++ b/net/ipv4/ip_options.c @@ -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]; |