summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-21 02:01:06 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:26:21 +0100
commit5be291fe2d0d76681190589f6480ce1e28c2406b (patch)
tree49239166a06dc68606de93803120e2724858a813 /net/sctp/sm_sideeffect.c
parent[SCTP]: SCTP_CMD_INIT_FAILED annotations. (diff)
downloadlinux-5be291fe2d0d76681190589f6480ce1e28c2406b.tar.xz
linux-5be291fe2d0d76681190589f6480ce1e28c2406b.zip
[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 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,
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: