Date: Thu, 22 Sep 2005 12:30:39 GMT From: Kwint <kwint@vianet.lt> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/86456: arp program hangs Message-ID: <200509221230.j8MCUdrX083017@www.freebsd.org> Resent-Message-ID: <200509221240.j8MCe67D095159@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86456 >Category: misc >Synopsis: arp program hangs >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 22 12:40:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kwint >Release: FreeBSD 4.9-RELEASE >Organization: VIANET >Environment: FreeBSD gw.vianet.lt 4.9-RELEASE FreeBSD 4.9-RELEASE #7: Mon Aug 16 16:20:58 EEST 2004 kwint@gw.vianet:/usr/src/sys/compile/GATEWAY i386 >Description: arp -da hangs unpredictably. I mean some two or three times it deletes arp entries, but then doing again arp -da it hangs in the middle of deleting arp enries. I found that it just loops in rtmsg(int cmd, struct sockaddr_inarp *dst, struct sockaddr_dl *sdl) function in this loop: do { l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg)); } while (l > 0 && (rtm->rtm_seq != seq || rtm->rtm_pid != pid)); it gets rtm->rtm_seq=0 and rtm->rtm_pid=0 every time. >How-To-Repeat: do continuos arp -da, I did it in shell script or, change /usr/sbin/arp source code to continuosly do arp -da >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509221230.j8MCUdrX083017>