From owner-freebsd-net@FreeBSD.ORG Sun Nov 22 02:48:58 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06243106566B for ; Sun, 22 Nov 2009 02:48:58 +0000 (UTC) (envelope-from freebsd-net@adam.gs) Received: from mail.adam.gs (mail.adam.gs [76.9.2.116]) by mx1.freebsd.org (Postfix) with ESMTP id D859B8FC17 for ; Sun, 22 Nov 2009 02:48:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.adam.gs (Postfix) with ESMTP id 339C13D8ECF for ; Sat, 21 Nov 2009 21:32:46 -0500 (EST) From: Adam Jacob Muller Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 21 Nov 2009 21:32:45 -0500 Message-Id: <35F73C4F-3C77-4B40-9D7D-16BEB8FE6EAD@adam.gs> To: freebsd-net@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Authentication: KBjQjPlS6fNSIGpVdWXovG+Bdso/EEjNT+I4SU49Atn++FyB4WRlwbAEYBlTasU67P2ARaJZB5n57xFH2imLr186pjwjlxAAczTZWkgBe4Aah2U46PL7n4zwHnko5bk08OAmtyktaS9fxwOB8eAj2axEV3VH7KGTVsjVDOxv7epHOfEjlmTR96WG3w== Subject: openbgpd + 8.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2009 02:48:58 -0000 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=