提交 c1d18f9f 编写于 作者: A Al Viro 提交者: David S. Miller

[IPV4]: struct ipcm_cookie annotation

->addr is net-endian
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3ca3c68e
......@@ -45,7 +45,7 @@ struct inet_skb_parm
struct ipcm_cookie
{
u32 addr;
__be32 addr;
int oif;
struct ip_options *opt;
};
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册