diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 18:31:10 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 18:02:01 -0700 |
commit | c0cda068aac3481d40795b115e4fd36f7d386e3a (patch) | |
tree | 61dd1789701cc9c30f8a27577fd62af7e9f7d7c6 /include/linux/igmp.h | |
parent | ea4d9e7220d32348cc9742ba6d27de5165262664 (diff) | |
download | linux-stable-c0cda068aac3481d40795b115e4fd36f7d386e3a.tar.gz linux-stable-c0cda068aac3481d40795b115e4fd36f7d386e3a.tar.bz2 linux-stable-c0cda068aac3481d40795b115e4fd36f7d386e3a.zip |
[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 'include/linux/igmp.h')
-rw-r--r-- | include/linux/igmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/igmp.h b/include/linux/igmp.h index 4e9f3fe77cf9..7514cceb4fe3 100644 --- a/include/linux/igmp.h +++ b/include/linux/igmp.h @@ -209,7 +209,7 @@ extern int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf, struct ip_msfilter __user *optval, int __user *optlen); extern int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf, struct group_filter __user *optval, int __user *optlen); -extern int ip_mc_sf_allow(struct sock *sk, u32 local, u32 rmt, int dif); +extern int ip_mc_sf_allow(struct sock *sk, __be32 local, __be32 rmt, int dif); extern void ip_mr_init(void); extern void ip_mc_init_dev(struct in_device *); extern void ip_mc_destroy_dev(struct in_device *); |