diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-08-07 07:28:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-14 23:30:37 -0700 |
commit | 24cb81a6a91288fcba19548944729ea906eb5e2a (patch) | |
tree | 0816959b1ded8edac01bc7975514f7a7e4143bd9 /include | |
parent | e7ff4a7037e6908b7a5f4682945a0b097d5b3535 (diff) | |
download | linux-stable-24cb81a6a91288fcba19548944729ea906eb5e2a.tar.gz linux-stable-24cb81a6a91288fcba19548944729ea906eb5e2a.tar.bz2 linux-stable-24cb81a6a91288fcba19548944729ea906eb5e2a.zip |
sctp: Push struct net down into all of the state machine functions
There are a handle of state machine functions primarily those dealing
with processing INIT packets where there is neither a valid endpoint nor
a valid assoication from which to derive a struct net. Therefore add
struct net * to the parameter list of sctp_state_fn_t and update all of
the state machine functions.
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/sm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index bcef13023ac3..b5887e1677e4 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h @@ -77,7 +77,8 @@ typedef struct { int action; } sctp_sm_command_t; -typedef sctp_disposition_t (sctp_state_fn_t) (const struct sctp_endpoint *, +typedef sctp_disposition_t (sctp_state_fn_t) (struct net *, + const struct sctp_endpoint *, const struct sctp_association *, const sctp_subtype_t type, void *arg, |