summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 17:01:06 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:26:21 -0800
commit5be291fe2d0d76681190589f6480ce1e28c2406b (patch)
tree49239166a06dc68606de93803120e2724858a813 /net/sctp/sm_sideeffect.c
parentdc251b2b1c4bfea51903cb9fbc141a5b33f6aca7 (diff)
downloadop-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.c2
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:
OpenPOWER on IntegriCloud