summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-11-02 14:01:19 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-11-02 14:01:19 +0000
commit263c04e1bde3d1faacc0c2054395ce503cb8aaba (patch)
tree5b7c1d09c54db9a030990e551146b261d49c426f /sys/netinet/ip_var.h
parentccad25ba8977c4d9f2c8d78763d09e00ab0068e5 (diff)
Move PRU_DETACH out of pr_usrreq into per proto pr_detach
functions to pave way for more fine grained locking. Suggested by, comments & OK mpi
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 23f824b5ed6..26429f9be08 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_var.h,v 1.82 2017/09/05 00:58:16 visa Exp $ */
+/* $OpenBSD: ip_var.h,v 1.83 2017/11/02 14:01:18 florian Exp $ */
/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
/*
@@ -253,7 +253,7 @@ int rip_output(struct mbuf *, struct socket *, struct sockaddr *,
int rip_usrreq(struct socket *,
int, struct mbuf *, struct mbuf *, struct mbuf *, struct proc *);
int rip_attach(struct socket *, int);
-
+int rip_detach(struct socket *);
#ifdef MROUTING
extern struct socket *ip_mrouter[]; /* multicast routing daemon */
#endif