NetBSD Problem Report #49219

From www@NetBSD.org  Fri Sep 19 10:08:27 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5D7ECA5675
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Sep 2014 10:08:27 +0000 (UTC)
Message-Id: <20140919100826.5C420A6639@mollari.NetBSD.org>
Date: Fri, 19 Sep 2014 10:08:26 +0000 (UTC)
From: ozaki-r@netbsd.org
Reply-To: ozaki-r@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: if_arp holds just one pending packet and drops all older packets
X-Send-Pr-Version: www-1.0

>Number:         49219
>Category:       kern
>Synopsis:       if_arp holds just one pending packet and drops all older packets
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 19 10:10:00 +0000 2014
>Last-Modified:  Fri May 29 10:10:01 +0000 2015
>Originator:     Ryota Ozaki
>Release:        current
>Organization:
>Environment:
any
>Description:
When ARP is required on sending a packet, if_arp holds the packet
until a destination address of the packet is resolved. Currently just
one packet is held by an interface and it will be dropped if a new
packet that heads to the same address is being sent via the interface.

In many cases, this limitation doesn't matter. However, sometimes
it annoys us. For example, my test script for bridge randomly failed
due to this behavior :-/ For another example, if a first outgoing
packet is fragmented, its first fragment will be always dropped.
>How-To-Repeat:

>Fix:
Hold pending packets with a list on an interface as same as FreeBSD and OpenBSD.

>Audit-Trail:
From: "Ryota Ozaki" <ozaki-r@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49219 CVS commit: src/tests/net/if_bridge
Date: Fri, 29 May 2015 10:08:52 +0000

 Module Name:	src
 Committed By:	ozaki-r
 Date:		Fri May 29 10:08:52 UTC 2015

 Modified Files:
 	src/tests/net/if_bridge: t_bridge.sh

 Log Message:
 Disable test_ping_failure which is conducted before setup_bridge

 It randomly fails (esp, often on a slow or loaded machine) due to
 PR kern/49219, so disable it for now.

 I forgot why I didn't include the test when I committed the test
 at first and wrongly added it at v1.4.


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/tests/net/if_bridge/t_bridge.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.