diff options
Diffstat (limited to 'net/sctp/endpointola.c')
-rw-r--r-- | net/sctp/endpointola.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 1859e2bc83d1..32ab55b18281 100644 --- a/net/sctp/endpointola.c +++ b/net/sctp/endpointola.c | |||
@@ -480,8 +480,11 @@ normal: | |||
480 | */ | 480 | */ |
481 | if (asoc && sctp_chunk_is_data(chunk)) | 481 | if (asoc && sctp_chunk_is_data(chunk)) |
482 | asoc->peer.last_data_from = chunk->transport; | 482 | asoc->peer.last_data_from = chunk->transport; |
483 | else | 483 | else { |
484 | SCTP_INC_STATS(sock_net(ep->base.sk), SCTP_MIB_INCTRLCHUNKS); | 484 | SCTP_INC_STATS(sock_net(ep->base.sk), SCTP_MIB_INCTRLCHUNKS); |
485 | if (asoc) | ||
486 | asoc->stats.ictrlchunks++; | ||
487 | } | ||
485 | 488 | ||
486 | if (chunk->transport) | 489 | if (chunk->transport) |
487 | chunk->transport->last_time_heard = jiffies; | 490 | chunk->transport->last_time_heard = jiffies; |