diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:00:44 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:20 -0500 |
commit | dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7 (patch) | |
tree | 6eee6336f8613abb5bce93d882ec2e73d15881b0 /net/sctp/sm_sideeffect.c | |
parent | f94c0198dd98c2ca66a7a44e9ad310a3eb21ad31 (diff) |
[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, | |||
1360 | break; | 1360 | break; |
1361 | 1361 | ||
1362 | case SCTP_CMD_INIT_FAILED: | 1362 | case SCTP_CMD_INIT_FAILED: |
1363 | sctp_cmd_init_failed(commands, asoc, cmd->obj.u32); | 1363 | sctp_cmd_init_failed(commands, asoc, cmd->obj.err); |
1364 | break; | 1364 | break; |
1365 | 1365 | ||
1366 | case SCTP_CMD_ASSOC_FAILED: | 1366 | case SCTP_CMD_ASSOC_FAILED: |