From abda76de0b81d58e1eb0e275c4e384fe97cca491 Mon Sep 17 00:00:00 2001 From: hsu Date: Fri, 14 Jun 2002 08:35:21 +0000 Subject: Notify functions can destroy the pcb, so they have to return an indication of whether this happenned so the calling function knows whether or not to unlock the pcb. Submitted by: Jennifer Yang (yangjihui@yahoo.com) Bug reported by: Sid Carter (sidcarter@symonds.net) --- sys/netinet/udp_var.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/netinet/udp_var.h') diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index b966396..66db23f 100644 --- a/sys/netinet/udp_var.h +++ b/sys/netinet/udp_var.h @@ -107,7 +107,8 @@ void udp_ctlinput(int, struct sockaddr *, void *); void udp_init(void); void udp_input(struct mbuf *, int); -void udp_notify(struct inpcb *inp, int errno); +struct inpcb * + udp_notify(struct inpcb *inp, int errno); int udp_shutdown(struct socket *so); #endif -- cgit v1.1