diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 21:31:10 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:02:01 -0400 |
commit | c0cda068aac3481d40795b115e4fd36f7d386e3a (patch) | |
tree | 61dd1789701cc9c30f8a27577fd62af7e9f7d7c6 /net/ipv4 | |
parent | ea4d9e7220d32348cc9742ba6d27de5165262664 (diff) |
[IPV4]: ip_mc_sf_allow() annotated
ip_mc_sf_allow() expects addresses to be passed net-endian.
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/igmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index f6ca51a2dcc2..a2c7b2b1b3fb 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -2156,7 +2156,7 @@ done: | |||
2156 | /* | 2156 | /* |
2157 | * check if a multicast source filter allows delivery for a given <src,dst,intf> | 2157 | * check if a multicast source filter allows delivery for a given <src,dst,intf> |
2158 | */ | 2158 | */ |
2159 | int ip_mc_sf_allow(struct sock *sk, u32 loc_addr, u32 rmt_addr, int dif) | 2159 | int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, int dif) |
2160 | { | 2160 | { |
2161 | struct inet_sock *inet = inet_sk(sk); | 2161 | struct inet_sock *inet = inet_sk(sk); |
2162 | struct ip_mc_socklist *pmc; | 2162 | struct ip_mc_socklist *pmc; |