diff options
Diffstat (limited to 'net/sctp/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 19f3bff84193..e17ada47afc4 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -364,7 +364,7 @@ sctp_disposition_t sctp_sf_do_5_1B_init(struct net *net, | |||
364 | 364 | ||
365 | /* Verify the INIT chunk before processing it. */ | 365 | /* Verify the INIT chunk before processing it. */ |
366 | err_chunk = NULL; | 366 | err_chunk = NULL; |
367 | if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, | 367 | if (!sctp_verify_init(net, asoc, chunk->chunk_hdr->type, |
368 | (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, | 368 | (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, |
369 | &err_chunk)) { | 369 | &err_chunk)) { |
370 | /* This chunk contains fatal error. It is to be discarded. | 370 | /* This chunk contains fatal error. It is to be discarded. |
@@ -531,7 +531,7 @@ sctp_disposition_t sctp_sf_do_5_1C_ack(struct net *net, | |||
531 | 531 | ||
532 | /* Verify the INIT chunk before processing it. */ | 532 | /* Verify the INIT chunk before processing it. */ |
533 | err_chunk = NULL; | 533 | err_chunk = NULL; |
534 | if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, | 534 | if (!sctp_verify_init(net, asoc, chunk->chunk_hdr->type, |
535 | (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, | 535 | (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, |
536 | &err_chunk)) { | 536 | &err_chunk)) { |
537 | 537 | ||
@@ -1429,7 +1429,7 @@ static sctp_disposition_t sctp_sf_do_unexpected_init( | |||
1429 | 1429 | ||
1430 | /* Verify the INIT chunk before processing it. */ | 1430 | /* Verify the INIT chunk before processing it. */ |
1431 | err_chunk = NULL; | 1431 | err_chunk = NULL; |
1432 | if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, | 1432 | if (!sctp_verify_init(net, asoc, chunk->chunk_hdr->type, |
1433 | (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, | 1433 | (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, |
1434 | &err_chunk)) { | 1434 | &err_chunk)) { |
1435 | /* This chunk contains fatal error. It is to be discarded. | 1435 | /* This chunk contains fatal error. It is to be discarded. |