diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:01:06 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:21 -0500 |
commit | 5be291fe2d0d76681190589f6480ce1e28c2406b (patch) | |
tree | 49239166a06dc68606de93803120e2724858a813 /net/sctp/sm_sideeffect.c | |
parent | dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7 (diff) |
[SCTP]: SCTP_CMD_ASSOC_FAILED annotations.
also always get __be16 protocol error; switch to SCTP_PERR()
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 e4c43a3438db..2423b8ef9ce0 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c | |||
@@ -1365,7 +1365,7 @@ static int sctp_cmd_interpreter(sctp_event_t event_type, | |||
1365 | 1365 | ||
1366 | case SCTP_CMD_ASSOC_FAILED: | 1366 | case SCTP_CMD_ASSOC_FAILED: |
1367 | sctp_cmd_assoc_failed(commands, asoc, event_type, | 1367 | sctp_cmd_assoc_failed(commands, asoc, event_type, |
1368 | subtype, chunk, cmd->obj.u32); | 1368 | subtype, chunk, cmd->obj.err); |
1369 | break; | 1369 | break; |
1370 | 1370 | ||
1371 | case SCTP_CMD_INIT_COUNTER_INC: | 1371 | case SCTP_CMD_INIT_COUNTER_INC: |