Skip to content

Commit

Permalink
[IPV4]: struct ipcm_cookie annotation
Browse files Browse the repository at this point in the history
->addr is net-endian

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Sep 29, 2006
1 parent 3ca3c68 commit c1d18f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/net/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct inet_skb_parm

struct ipcm_cookie
{
u32 addr;
__be32 addr;
int oif;
struct ip_options *opt;
};
Expand Down
2 changes: 1 addition & 1 deletion net/ipv4/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
struct rtable *rt = NULL;
int free = 0;
__be32 daddr;
u32 saddr;
__be32 saddr;
u8 tos;
int err;

Expand Down

0 comments on commit c1d18f9

Please sign in to comment.