Эх сурвалжийг харах

[DCCP]: Fix comment about control sockets.

These sockets now have a bit other names and are no longer global.

Shame on me, I haven't provided a good comment for this when
sending DCCP netnsization patches.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Pavel Emelyanov 17 жил өмнө
parent
commit
13f51d82ac

+ 1 - 1
net/dccp/ipv4.c

@@ -32,7 +32,7 @@
 #include "feat.h"
 #include "feat.h"
 
 
 /*
 /*
- * The dccp_ctl_sk is the global socket data structure used for responding to
+ * The per-net dccp.v4_ctl_sk socket is used for responding to
  * the Out-of-the-blue (OOTB) packets. A control sock will be created
  * the Out-of-the-blue (OOTB) packets. A control sock will be created
  * for this socket at the initialization time.
  * for this socket at the initialization time.
  */
  */

+ 1 - 1
net/dccp/ipv6.c

@@ -33,7 +33,7 @@
 #include "ipv6.h"
 #include "ipv6.h"
 #include "feat.h"
 #include "feat.h"
 
 
-/* dccp_v6_ctl_sk is used for sending RSTs and ACKs */
+/* The per-net dccp.v6_ctl_sk is used for sending RSTs and ACKs */
 
 
 static struct inet_connection_sock_af_ops dccp_ipv6_mapped;
 static struct inet_connection_sock_af_ops dccp_ipv6_mapped;
 static struct inet_connection_sock_af_ops dccp_ipv6_af_ops;
 static struct inet_connection_sock_af_ops dccp_ipv6_af_ops;