sctp: Push struct net down to sctp_chunk_event_lookup
This trickles up through sctp_sm_lookup_event up to sctp_do_sm and up further into sctp_primitiv_NAME before the code reaches places where struct net can be reliably found. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ebb7e95d93
commit
55e26eb95a
@@ -178,7 +178,8 @@ sctp_state_fn_t sctp_sf_autoclose_timer_expire;
|
||||
|
||||
/* Prototypes for utility support functions. */
|
||||
__u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
|
||||
const sctp_sm_table_entry_t *sctp_sm_lookup_event(sctp_event_t,
|
||||
const sctp_sm_table_entry_t *sctp_sm_lookup_event(struct net *,
|
||||
sctp_event_t,
|
||||
sctp_state_t,
|
||||
sctp_subtype_t);
|
||||
int sctp_chunk_iif(const struct sctp_chunk *);
|
||||
@@ -268,7 +269,7 @@ void sctp_chunk_assign_ssn(struct sctp_chunk *);
|
||||
|
||||
/* Prototypes for statetable processing. */
|
||||
|
||||
int sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype,
|
||||
int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype,
|
||||
sctp_state_t state,
|
||||
struct sctp_endpoint *,
|
||||
struct sctp_association *asoc,
|
||||
|
Reference in New Issue
Block a user