diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 00:27:54 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 20:54:08 -0400 |
commit | a61ced5d1c2e773620d7855ea2009d770c10a6e6 (patch) | |
tree | ca9d49774eb4740a60e5338d4da51af1c8c862d6 /net/ipv4/ipvs/ip_vs_sync.c | |
parent | 011a92610826bdeec4b80ab423958d4c512639f6 (diff) |
[IPV4]: inet_select_addr() annotations
argument and return value are net-endian. Annotated function and 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/ipvs/ip_vs_sync.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_sync.c b/net/ipv4/ipvs/ip_vs_sync.c index 1bca714bda3d..0c8d20da6139 100644 --- a/net/ipv4/ipvs/ip_vs_sync.c +++ b/net/ipv4/ipvs/ip_vs_sync.c | |||
@@ -464,7 +464,7 @@ join_mcast_group(struct sock *sk, struct in_addr *addr, char *ifname) | |||
464 | static int bind_mcastif_addr(struct socket *sock, char *ifname) | 464 | static int bind_mcastif_addr(struct socket *sock, char *ifname) |
465 | { | 465 | { |
466 | struct net_device *dev; | 466 | struct net_device *dev; |
467 | u32 addr; | 467 | __be32 addr; |
468 | struct sockaddr_in sin; | 468 | struct sockaddr_in sin; |
469 | 469 | ||
470 | if ((dev = __dev_get_by_name(ifname)) == NULL) | 470 | if ((dev = __dev_get_by_name(ifname)) == NULL) |