summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-26 21:27:15 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 17:54:06 -0700
commitbada8adc4e6622764205921e6ba3f717aa03c882 (patch)
tree6052ffa8b3f6fbb8e11566f7a0e3f1f557acccd2 /net/ipv4/tcp_ipv4.c
parentf2c3fe24119ee4f8faca08699f0488f500014a27 (diff)
downloadlinux-bada8adc4e6622764205921e6ba3f717aa03c882.tar.gz
linux-bada8adc4e6622764205921e6ba3f717aa03c882.tar.bz2
linux-bada8adc4e6622764205921e6ba3f717aa03c882.zip
[IPV4]: ip_route_connect() ipv4 address arguments annotated
annotated address arguments (port number left alone for now); ditto for inferred net-endian variables in callers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 39b179856082..9018aa41cb55 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -159,7 +159,7 @@ int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
struct tcp_sock *tp = tcp_sk(sk);
struct sockaddr_in *usin = (struct sockaddr_in *)uaddr;
struct rtable *rt;
- u32 daddr, nexthop;
+ __be32 daddr, nexthop;
int tmp;
int err;