summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorAl Viro2006-11-21 02:00:05 +0100
committerDavid S. Miller2006-12-03 06:26:18 +0100
commit63706c5c6fd07f58bed85d0aa031ffbce3a0385f (patch)
treee764070e34040a8ed14042cf91f7639ef9662e83 /net/sctp
parent[SCTP]: Annotate sctp_init_cause(). (diff)
downloadkernel-qcow2-linux-63706c5c6fd07f58bed85d0aa031ffbce3a0385f.tar.gz
kernel-qcow2-linux-63706c5c6fd07f58bed85d0aa031ffbce3a0385f.tar.xz
kernel-qcow2-linux-63706c5c6fd07f58bed85d0aa031ffbce3a0385f.zip
[SCTP]: sctp_make_op_error() annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 37472be16014..a3bde93bd8a3 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -951,7 +951,7 @@ nodata:
/* Create an Operation Error chunk. */
struct sctp_chunk *sctp_make_op_error(const struct sctp_association *asoc,
const struct sctp_chunk *chunk,
- __u16 cause_code, const void *payload,
+ __be16 cause_code, const void *payload,
size_t paylen)
{
struct sctp_chunk *retval;