From owner-freebsd-bugs Wed Jan 9 17:10:19 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7B24837B41B for ; Wed, 9 Jan 2002 17:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0A1A1m50926; Wed, 9 Jan 2002 17:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5743B37B422 for ; Wed, 9 Jan 2002 17:03:22 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0A13Mw46469; Wed, 9 Jan 2002 17:03:22 -0800 (PST) (envelope-from nobody) Message-Id: <200201100103.g0A13Mw46469@freefall.freebsd.org> Date: Wed, 9 Jan 2002 17:03:22 -0800 (PST) From: Jan Oravec To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/33747: bug in rt socket Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33747 >Category: kern >Synopsis: bug in rt socket >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 09 17:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jan Oravec >Release: 4.4-STABLE >Organization: XS26 - 'Access to IPv6' >Environment: FreeBSD ipv6.isternet.sk 4.4-STABLE FreeBSD 4.4-STABLE #6: Thu Oct 18 21:44:36 CEST 2001 wsx@ipv6.isternet.sk:/usr/obj/usr/src/sys/IPv6 i386 >Description: there is a bug in rt socket in kernel, file net/rtsock.c: function rt_ifmsg contains: ifm->ifm_addrs = 0; we should set RTA_IFP attribute instead and send interface name, because information that some interface has been created without name of interface is unusable. openbsd haven't this bug >How-To-Repeat: open rt socket, create interface (e.g. ifconfig gif0 create) and see what you get...MTU, interface ID, ..., but not interface name >Fix: ifm->ifm_addrs = RTA_IFP; and some other code to send name of interface... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message