summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:27:13 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:51 -0700
commitadaf345b537681c6ed3657941904d976fe72f342 (patch)
tree14912ce41908193e03bb1e570329e234448726bb /net/ipv4
parent85670cc1faa2e1472e4a423cbf0b5e3d55c5ba88 (diff)
downloadop-kernel-dev-adaf345b537681c6ed3657941904d976fe72f342.zip
op-kernel-dev-adaf345b537681c6ed3657941904d976fe72f342.tar.gz
[IPV4]: annotate address in inet_request_sock
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp_ipv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 9018aa4..89f3cf9 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -734,8 +734,8 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
struct inet_request_sock *ireq;
struct tcp_options_received tmp_opt;
struct request_sock *req;
- __u32 saddr = skb->nh.iph->saddr;
- __u32 daddr = skb->nh.iph->daddr;
+ __be32 saddr = skb->nh.iph->saddr;
+ __be32 daddr = skb->nh.iph->daddr;
__u32 isn = TCP_SKB_CB(skb)->when;
struct dst_entry *dst = NULL;
#ifdef CONFIG_SYN_COOKIES
OpenPOWER on IntegriCloud