diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-08-07 07:27:02 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-15 06:30:37 (GMT) |
commit | e7ff4a7037e6908b7a5f4682945a0b097d5b3535 (patch) | |
tree | 8a1be09931a1fc75857a03171d5d77377b3dd62c /include | |
parent | 89bf3450cb9b041b1bb4bcc5e7cbdeab4545b1c1 (diff) | |
download | linux-fsl-qoriq-e7ff4a7037e6908b7a5f4682945a0b097d5b3535.tar.xz |
sctp: Push struct net down into sctp_in_scope
struct net will be needed shortly when the tunables are made per network
namespace.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 88d2179..b0882f3 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1248,7 +1248,7 @@ int sctp_raw_to_bind_addrs(struct sctp_bind_addr *bp, __u8 *raw, int len, __u16 port, gfp_t gfp); sctp_scope_t sctp_scope(const union sctp_addr *); -int sctp_in_scope(const union sctp_addr *addr, const sctp_scope_t scope); +int sctp_in_scope(struct net *net, const union sctp_addr *addr, const sctp_scope_t scope); int sctp_is_any(struct sock *sk, const union sctp_addr *addr); int sctp_addr_is_valid(const union sctp_addr *addr); int sctp_is_ep_boundall(struct sock *sk); |