]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/in_proto.c
xnu-2050.7.9.tar.gz
[apple/xnu.git] / bsd / netinet / in_proto.c
index 7c979683af30b92b432d76e7237f6fd9aa873668..f3f3be8e7b355601fd2eb3275fe51a2e2d4b2d68 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2012 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
@@ -213,7 +213,7 @@ struct protosw inetsw[] = {
   encap_init,          0,              0,              0,
   0,
   &rip_usrreqs,
-  0,           0,              0,      { 0, 0 },       0,      { 0 }
+  0,           rip_unlock,             0,      { 0, 0 },       0,      { 0 }
 },
 # if INET6
 { SOCK_RAW,    &inetdomain,    IPPROTO_IPV6,   PR_ATOMIC|PR_ADDR|PR_LASTHDR,
@@ -222,7 +222,7 @@ struct protosw inetsw[] = {
   encap_init,  0,              0,              0,
   0,
   &rip_usrreqs,
-  0,           0,              0,      { 0, 0 },       0,      { 0 }
+  0,           rip_unlock,             0,      { 0, 0 },       0,      { 0 }
 },
 #endif
 #if IPDIVERT
@@ -242,7 +242,7 @@ struct protosw inetsw[] = {
   0,           0,              0,              0,
   0,
   &rip_usrreqs,
-  0,           0,              0,      { 0, 0 },       0,      { 0 }
+  0,           rip_unlock,             0,      { 0, 0 },       0,      { 0 }
 },
 #endif
 #if NSIP
@@ -252,7 +252,7 @@ struct protosw inetsw[] = {
   0,           0,              0,              0,
   0,
   &rip_usrreqs,
-  0,           0,              0,      { 0, 0 },       0,      { 0 }
+  0,           rip_unlock,             0,      { 0, 0 },       0,      { 0 }
 },
 #endif
        /* raw wildcard */