forked from luck/tmp_suning_uos_patched
[IPV4]: struct ipcm_cookie annotation
->addr is net-endian Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3ca3c68e76
commit
c1d18f9fa0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user