diff options
Diffstat (limited to 'net/sctp/chunk.c')
-rw-r--r-- | net/sctp/chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/chunk.c b/net/sctp/chunk.c index 6c8556459a75..7c2df9c33df3 100644 --- a/net/sctp/chunk.c +++ b/net/sctp/chunk.c | |||
@@ -257,7 +257,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, | |||
257 | offset = 0; | 257 | offset = 0; |
258 | 258 | ||
259 | if ((whole > 1) || (whole && over)) | 259 | if ((whole > 1) || (whole && over)) |
260 | SCTP_INC_STATS_USER(SCTP_MIB_FRAGUSRMSGS); | 260 | SCTP_INC_STATS_USER(sock_net(asoc->base.sk), SCTP_MIB_FRAGUSRMSGS); |
261 | 261 | ||
262 | /* Create chunks for all the full sized DATA chunks. */ | 262 | /* Create chunks for all the full sized DATA chunks. */ |
263 | for (i=0, len=first_len; i < whole; i++) { | 263 | for (i=0, len=first_len; i < whole; i++) { |