Commit adaf345b authored by Al Viro's avatar Al Viro Committed by David S. Miller

[IPV4]: annotate address in inet_request_sock

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 85670cc1
...@@ -62,8 +62,8 @@ struct inet_request_sock { ...@@ -62,8 +62,8 @@ struct inet_request_sock {
u16 inet6_rsk_offset; u16 inet6_rsk_offset;
/* 2 bytes hole, try to pack */ /* 2 bytes hole, try to pack */
#endif #endif
u32 loc_addr; __be32 loc_addr;
u32 rmt_addr; __be32 rmt_addr;
u16 rmt_port; u16 rmt_port;
u16 snd_wscale : 4, u16 snd_wscale : 4,
rcv_wscale : 4, rcv_wscale : 4,
......
...@@ -734,8 +734,8 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb) ...@@ -734,8 +734,8 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
struct inet_request_sock *ireq; struct inet_request_sock *ireq;
struct tcp_options_received tmp_opt; struct tcp_options_received tmp_opt;
struct request_sock *req; struct request_sock *req;
__u32 saddr = skb->nh.iph->saddr; __be32 saddr = skb->nh.iph->saddr;
__u32 daddr = skb->nh.iph->daddr; __be32 daddr = skb->nh.iph->daddr;
__u32 isn = TCP_SKB_CB(skb)->when; __u32 isn = TCP_SKB_CB(skb)->when;
struct dst_entry *dst = NULL; struct dst_entry *dst = NULL;
#ifdef CONFIG_SYN_COOKIES #ifdef CONFIG_SYN_COOKIES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment