OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][IPv6] Correct the comment concerning inetsw6 table
[PATCH][IPv6] Correct the comment concerning inetsw6 table [message #23709] Fri, 23 November 2007 08:57 Go to next message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
It seems that net/ipv6/af_inet6.c was copied from net/ipv4/af_inet.c,
but one comment was not fixed.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

---

diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 85178f7..64135e2 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -68,7 +68,7 @@ MODULE_LICENSE("GPL");
 
 int sysctl_ipv6_bindv6only __read_mostly;
 
-/* The inetsw table contains everything that inet_create needs to
+/* The inetsw6 table contains everything that inet6_create needs to
  * build a new socket.
  */
 static struct list_head inetsw6[SOCK_MAX];
Re: [PATCH][IPv6] Correct the comment concerning inetsw6 table [message #23722 is a reply to message #23709] Fri, 23 November 2007 13:30 Go to previous message
Herbert Xu is currently offline  Herbert Xu
Messages: 45
Registered: April 2007
Member
On Fri, Nov 23, 2007 at 11:57:54AM +0300, Pavel Emelyanov wrote:
> It seems that net/ipv6/af_inet6.c was copied from net/ipv4/af_inet.c,
> but one comment was not fixed.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied.

Oh and congratulations for advancing in the Order of Pedantry :)
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Previous Topic: [PATCH 2/2] Merge multiple error paths in alloc_uid into one
Next Topic: [PATCH][UNIX] Move the unix sock iterators in to proper place
Goto Forum:
  


Current Time: Sat Mar 25 11:24:08 GMT 2023

Total time taken to generate the page: 0.00855 seconds