sctp: Make the mib per network namespace
[deliverable/linux.git] / net / sctp / endpointola.c
index 6b763939345bb6068e20ea86038c6b2d3cd46e75..3edca80ab3a1ef6e72ea0291e7d06a78e8f2eca1 100644 (file)
@@ -478,7 +478,7 @@ normal:
                if (asoc && sctp_chunk_is_data(chunk))
                        asoc->peer.last_data_from = chunk->transport;
                else
-                       SCTP_INC_STATS(SCTP_MIB_INCTRLCHUNKS);
+                       SCTP_INC_STATS(sock_net(ep->base.sk), SCTP_MIB_INCTRLCHUNKS);
 
                if (chunk->transport)
                        chunk->transport->last_time_heard = jiffies;
This page took 0.025506 seconds and 5 git commands to generate.