diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 17:01:06 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:26:21 -0800 |
commit | 5be291fe2d0d76681190589f6480ce1e28c2406b (patch) | |
tree | 49239166a06dc68606de93803120e2724858a813 /net/sctp/sm_sideeffect.c | |
parent | dc251b2b1c4bfea51903cb9fbc141a5b33f6aca7 (diff) | |
download | op-kernel-dev-5be291fe2d0d76681190589f6480ce1e28c2406b.zip op-kernel-dev-5be291fe2d0d76681190589f6480ce1e28c2406b.tar.gz |
[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 e4c43a3..2423b8e 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, case SCTP_CMD_ASSOC_FAILED: sctp_cmd_assoc_failed(commands, asoc, event_type, - subtype, chunk, cmd->obj.u32); + subtype, chunk, cmd->obj.err); break; case SCTP_CMD_INIT_COUNTER_INC: |