Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2009 21:32:45 -0500
From:      Adam Jacob Muller <freebsd-net@adam.gs>
To:        freebsd-net@freebsd.org
Subject:   openbgpd + 8.0
Message-ID:  <35F73C4F-3C77-4B40-9D7D-16BEB8FE6EAD@adam.gs>

next in thread | raw e-mail | index | archive | help
Hi,
I have an openbgpd running on an 8.0 box where openbgpd crashes (exits =
silently) whenever an interface on the system (vlan/tun/tap s are =
dynamically created here) is removed.


I've traced the error back to kroute.c:dispatch_rtmsg_addr

if ((sa =3D rti_info[RTAX_DST]) =3D=3D NULL) {


This check is failing, which returns -1, which is passed up =
(dispatch_rtmsg up to kr_dispatch_msg up to bgpd.c main() whcih sets =
exit=3D1).
Unfortunately, this is quickly approaching=20

Any idea what exactly is going on here?

I'm not 100% sure but I think this is a regression from 7.x, I don't =
have any 7.x systems I can test this on at the moment unfortunately.

I've subverted this check by, simply, not setting quit=3D1 in main.c =
when kr_dispatch_msg() fails, and everything SEEMS to operate normally, =
i'm kinda curious to hear thoughts on this though...


-Adam=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35F73C4F-3C77-4B40-9D7D-16BEB8FE6EAD>