sctp: Push struct net down into all of the state machine functions
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 7 Aug 2012 07:28:09 +0000 (07:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2012 06:30:37 +0000 (23:30 -0700)
commit24cb81a6a91288fcba19548944729ea906eb5e2a
tree0816959b1ded8edac01bc7975514f7a7e4143bd9
parente7ff4a7037e6908b7a5f4682945a0b097d5b3535
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>
include/net/sctp/sm.h
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c