diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:00:25 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:19 -0500 |
commit | f94c0198dd98c2ca66a7a44e9ad310a3eb21ad31 (patch) | |
tree | b303890e026deef9f29c83d4dc7914cfb03d450d /net/sctp/sm_statefuns.c | |
parent | 63706c5c6fd07f58bed85d0aa031ffbce3a0385f (diff) |
[SCTP]: sctp_stop_t1_and_abort() 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/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 1c42fe983a5b..b9063ed2a659 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -93,7 +93,7 @@ static sctp_disposition_t sctp_sf_shut_8_4_5(const struct sctp_endpoint *ep, | |||
93 | static struct sctp_sackhdr *sctp_sm_pull_sack(struct sctp_chunk *chunk); | 93 | static struct sctp_sackhdr *sctp_sm_pull_sack(struct sctp_chunk *chunk); |
94 | 94 | ||
95 | static sctp_disposition_t sctp_stop_t1_and_abort(sctp_cmd_seq_t *commands, | 95 | static sctp_disposition_t sctp_stop_t1_and_abort(sctp_cmd_seq_t *commands, |
96 | __u16 error, int sk_err, | 96 | __be16 error, int sk_err, |
97 | const struct sctp_association *asoc, | 97 | const struct sctp_association *asoc, |
98 | struct sctp_transport *transport); | 98 | struct sctp_transport *transport); |
99 | 99 | ||
@@ -443,7 +443,7 @@ sctp_disposition_t sctp_sf_do_5_1C_ack(const struct sctp_endpoint *ep, | |||
443 | __u32 init_tag; | 443 | __u32 init_tag; |
444 | struct sctp_chunk *err_chunk; | 444 | struct sctp_chunk *err_chunk; |
445 | struct sctp_packet *packet; | 445 | struct sctp_packet *packet; |
446 | __u16 error; | 446 | sctp_error_t error; |
447 | 447 | ||
448 | if (!sctp_vtag_verify(chunk, asoc)) | 448 | if (!sctp_vtag_verify(chunk, asoc)) |
449 | return sctp_sf_pdiscard(ep, asoc, type, arg, commands); | 449 | return sctp_sf_pdiscard(ep, asoc, type, arg, commands); |
@@ -2295,7 +2295,7 @@ sctp_disposition_t sctp_sf_cookie_wait_abort(const struct sctp_endpoint *ep, | |||
2295 | { | 2295 | { |
2296 | struct sctp_chunk *chunk = arg; | 2296 | struct sctp_chunk *chunk = arg; |
2297 | unsigned len; | 2297 | unsigned len; |
2298 | __u16 error = SCTP_ERROR_NO_ERROR; | 2298 | __be16 error = SCTP_ERROR_NO_ERROR; |
2299 | 2299 | ||
2300 | if (!sctp_vtag_verify_either(chunk, asoc)) | 2300 | if (!sctp_vtag_verify_either(chunk, asoc)) |
2301 | return sctp_sf_pdiscard(ep, asoc, type, arg, commands); | 2301 | return sctp_sf_pdiscard(ep, asoc, type, arg, commands); |
@@ -2357,7 +2357,7 @@ sctp_disposition_t sctp_sf_cookie_echoed_abort(const struct sctp_endpoint *ep, | |||
2357 | * This is common code called by several sctp_sf_*_abort() functions above. | 2357 | * This is common code called by several sctp_sf_*_abort() functions above. |
2358 | */ | 2358 | */ |
2359 | static sctp_disposition_t sctp_stop_t1_and_abort(sctp_cmd_seq_t *commands, | 2359 | static sctp_disposition_t sctp_stop_t1_and_abort(sctp_cmd_seq_t *commands, |
2360 | __u16 error, int sk_err, | 2360 | __be16 error, int sk_err, |
2361 | const struct sctp_association *asoc, | 2361 | const struct sctp_association *asoc, |
2362 | struct sctp_transport *transport) | 2362 | struct sctp_transport *transport) |
2363 | { | 2363 | { |