Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 1999 19:10:01 -0700 (PDT)
From:      "Massa.Hatanaka" <hatanaka@open.nm.fujitsu.co.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/13232: panic("rtfree"); when sending bootp requests to machine
Message-ID:  <199909160210.TAA49058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/13232; it has been noted by GNATS.

From: "Massa.Hatanaka" <hatanaka@open.nm.fujitsu.co.jp>
To: freebsd-gnats-submit@freebsd.org
Cc: colle@krtkg1.rug.ac.be, hatanaka@open.nm.fujitsu.co.jp
Subject: Re: kern/13232: panic("rtfree"); when sending bootp requests to machine
Date: Thu, 16 Sep 1999 11:06:19 JST

 Altough I am not sure to fix, you can try the following fixes.
 Hope that helps.
 
 -Massa. Hatanaka
 
 ==
 [1] For aged bug
 
     route_output():sys/net/rtsock.c
 
 		if ((rnh = rt_tables[dst->sa_family]) == 0) {
 			senderr(EAFNOSUPPORT);
 		} else if (rt = (struct rtentry *)
 				rnh->rnh_lookup(dst, netmask, rnh))
 	#ifdef	notdef
 			rt->rt_refcnt++;
 	#else   /* notdef */
 		{
 			if (rt->rt_nodes[0].rn_flags & RNF_ROOT) {
 				rt = 0;
 				senderr(ESRCH);
 			}
 			rt->rt_refcnt++;
 		}
 	#endif  /* notdef */
 		else
 			senderr(ESRCH);
 
 [2] For young bug
 
     in_matroute():sys/netinet/in_rmx.c
 
 	static struct radix_node *
 	in_matroute(void *v_arg, struct radix_node_head *head)
 	{
 		struct radix_node *rn = rn_match(v_arg, head);
 		struct rtentry *rt = (struct rtentry *)rn;
 
 #ifdef  notdef
 #endif  /* notdef */
 		if (rn && (rn->rn_flags & RNF_ROOT)) {
 			return (rn);
 		}
 #endif  /* notdef */
 		if(rt && rt->rt_refcnt == 0) { /* this is first reference */
 			if(rt->rt_flags & RTPRF_OURS) {
 				rt->rt_flags &= ~RTPRF_OURS;
 				rt->rt_rmx.rmx_expire = 0;
 			}
 		}
 		return rn;
 	}
 
 ===
 Massa. Hatanaka                                Fujitsu Limited, Japan
 /* E-Mail: masoh@itspf.fujitsu.oz.au */
 E-Mail: hatanaka@open.nm.fujitsu.co.jp
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909160210.TAA49058>