summaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 06:27:15 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 02:54:06 +0200
commitbada8adc4e6622764205921e6ba3f717aa03c882 (patch)
tree6052ffa8b3f6fbb8e11566f7a0e3f1f557acccd2 /net/dccp/ipv4.c
parent[IPV4]: annotate ipv4 addresses in struct rtable and struct flowi (diff)
downloadlinux-bada8adc4e6622764205921e6ba3f717aa03c882.tar.xz
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/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 66be29b6f508..bf692c1c116f 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -50,7 +50,7 @@ int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
struct dccp_sock *dp = dccp_sk(sk);
const struct sockaddr_in *usin = (struct sockaddr_in *)uaddr;
struct rtable *rt;
- u32 daddr, nexthop;
+ __be32 daddr, nexthop;
int tmp;
int err;