diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-08-07 03:29:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-15 02:30:37 -0400 |
commit | f53b5b097e58361668b785eff9f7bcd12b4255ec (patch) | |
tree | 099cd45b14f4d259a48bd2b464ad3ed60002d840 /include/net/sctp | |
parent | 24cb81a6a91288fcba19548944729ea906eb5e2a (diff) |
sctp: Push struct net down into sctp_verify_ext_param
Add struct net as a parameter to sctp_verify_param so it can be passed
to sctp_verify_ext_param where struct net will be needed when the sctp
tunables become per net tunables.
Add struct net as a parameter to sctp_verify_init so struct net can be
passed to sctp_verify_param.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/structs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index b0882f3a3a51..18052b421203 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -1410,9 +1410,9 @@ struct sctp_endpoint *sctp_endpoint_is_match(struct sctp_endpoint *, | |||
1410 | int sctp_has_association(struct net *net, const union sctp_addr *laddr, | 1410 | int sctp_has_association(struct net *net, const union sctp_addr *laddr, |
1411 | const union sctp_addr *paddr); | 1411 | const union sctp_addr *paddr); |
1412 | 1412 | ||
1413 | int sctp_verify_init(const struct sctp_association *asoc, sctp_cid_t, | 1413 | int sctp_verify_init(struct net *net, const struct sctp_association *asoc, |
1414 | sctp_init_chunk_t *peer_init, struct sctp_chunk *chunk, | 1414 | sctp_cid_t, sctp_init_chunk_t *peer_init, |
1415 | struct sctp_chunk **err_chunk); | 1415 | struct sctp_chunk *chunk, struct sctp_chunk **err_chunk); |
1416 | int sctp_process_init(struct sctp_association *, struct sctp_chunk *chunk, | 1416 | int sctp_process_init(struct sctp_association *, struct sctp_chunk *chunk, |
1417 | const union sctp_addr *peer, | 1417 | const union sctp_addr *peer, |
1418 | sctp_init_chunk_t *init, gfp_t gfp); | 1418 | sctp_init_chunk_t *init, gfp_t gfp); |