Subject: bin/9709: Dhclinet busy loops if the interface it is trying to use is removed
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 03/29/2000 22:31:05
>Synopsis: Dhclinet busy loops if the interface it is trying to use is removed
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Wed Mar 29 22:30:00 2000
>Originator: Tero Kivinen
SSH Communications Security
>Release: NetBSD-current 2000-03-27
System: NetBSD kaakeli.ssh.fi 1.4W NetBSD 1.4W (KAAKELI) #0: Mon Mar 27 18:29:39 CST 2000 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/KAAKELI i386
Dhclient does not notice that the interface it is sending the packets
disappears, instead it starts logging "dhclient: receive_packet failed
on wi0: Input/output error" messages to syslog as fast as possible
(more than 350 messages / second).
When using wireless card (wi0) turn the interface down by "ifconfig
wi0 down" and then remove the pcmcia card from the slot. After a while
when the dhclient next tries to send anything to the interface it will
start flooding those error messages to the syslog.
Quick fix: Kill the dhclient before removing pcmcia cards (or before
it tries to use the nonexisting interface).