From a3d6d8ad95f85e23787154dfe1afe4e32471dc84 Mon Sep 17 00:00:00 2001 From: wollman Date: Mon, 24 Jul 1995 16:33:51 +0000 Subject: [PATCH] Completely turn off RSVP intercept when a socket being used for that purpose is PRU_DETACHed. This solves the problem that RSVP would not come up inm raw mode if previously killed. --- sys/netinet/raw_ip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 133b6acb6303..b16394166d97 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)raw_ip.c 8.2 (Berkeley) 1/4/94 - * $Id: raw_ip.c,v 1.18 1995/05/12 20:00:21 ache Exp $ + * $Id: raw_ip.c,v 1.20 1995/06/13 17:51:16 wollman Exp $ */ #include @@ -333,6 +333,7 @@ rip_usrreq(so, req, m, nam, control) panic("rip_detach"); if (so == ip_mrouter) ip_mrouter_done(); + ip_rsvp_force_done(so); if (so == ip_rsvpd) ip_rsvp_done(); in_pcbdetach(inp);