diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 17:00:44 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:26:20 -0800 |
commit | dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7 (patch) | |
tree | 6eee6336f8613abb5bce93d882ec2e73d15881b0 /net/sctp/sm_sideeffect.c | |
parent | f94c0198dd98c2ca66a7a44e9ad310a3eb21ad31 (diff) | |
download | linux-dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7.tar.gz linux-dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7.tar.bz2 linux-dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7.zip |
[SCTP]: SCTP_CMD_INIT_FAILED annotations.
argument stored for SCTP_CMD_INIT_FAILED is always __be16
(protocol error). Introduced new field and accessor for
it (SCTP_PERR()); switched to their use (from SCTP_U32() and
.u32)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
-rw-r--r-- | net/sctp/sm_sideeffect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index 9c10bdec1afe..e4c43a3438db 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c @@ -1360,7 +1360,7 @@ static int sctp_cmd_interpreter(sctp_event_t event_type, break; case SCTP_CMD_INIT_FAILED: - sctp_cmd_init_failed(commands, asoc, cmd->obj.u32); + sctp_cmd_init_failed(commands, asoc, cmd->obj.err); break; case SCTP_CMD_ASSOC_FAILED: |