Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2000 14:57:41 -0400 (EDT)
From:      rwatson@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20363: dhclient doesn't know what to do when an interface disappears
Message-ID:  <200008021857.OAA94888@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

>Number:         20363
>Category:       bin
>Synopsis:       dhclient doesn't know what to do when an interface disappears
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 02 12:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

pccard environment, DHCP in use to configure IP on card

>Description:

Leaving the ethernet card in the slot, suspend, then wake up the notebook.
if_detach() will free th struct ifnet, and BPF will return an appropriate
error to dhclient (I believe, haven't tracked it down quite), but dhclient
apparently doesn't know how to deal with that.

Aug  1 12:53:35 numocking dhclient: receive_packet failed on wi0: Device not con
figured
Aug  1 12:53:58 numocking last message repeated 167598 times

>How-To-Repeat:

suspend notebook, wake it up, watch syslog

>Fix:

errno checking in the receive packet event loop probably needs to check
for ENXIO, which indicates that the device is no longer valid.  Not
sure what it should do next -- probably exit.


>Release-Note:
>Audit-Trail:
>Unformatted:
 >


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?200008021857.OAA94888>