From owner-freebsd-net@FreeBSD.ORG Sun Jul 24 04:18:51 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79EB9106566C; Sun, 24 Jul 2011 04:18:51 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 84F908FC0A; Sun, 24 Jul 2011 04:18:50 +0000 (UTC) Received: by ewy1 with SMTP id 1so2947817ewy.13 for ; Sat, 23 Jul 2011 21:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=02rWBbcjVuzh6/AXPFasqTir3PFQjhEZ/HjA/SobU9k=; b=ovQeV4pmgNDj1KjsdQSdg1Oq4LjgdwURX1yTR61Rse6G+uQxMMwXrB+CI/+mW+iLmJ Ci7Rz2Dwh8OgBNFaHiz5Z+XmRSud71d8XVmvmy8zbAOH2fA8bsBz/V8C0/WWO8cgNG0b 0T2/llrzKDcT93dYVBeQnMcNkqwOxyqBYJDuU= MIME-Version: 1.0 Received: by 10.213.105.145 with SMTP id t17mr1282426ebo.31.1311479470609; Sat, 23 Jul 2011 20:51:10 -0700 (PDT) Received: by 10.213.31.194 with HTTP; Sat, 23 Jul 2011 20:51:10 -0700 (PDT) In-Reply-To: <20110714154457.GI70776@FreeBSD.org> References: <20110714154457.GI70776@FreeBSD.org> Date: Sat, 23 Jul 2011 23:51:10 -0400 Message-ID: From: Ryan Stone To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: gnn@freebsd.org, bz@freebsd.org, rwatson@freebsd.org, net@freebsd.org Subject: Re: m_pkthdr.rcvif dangling pointer problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2011 04:18:51 -0000 I ran headlong into this issue today when trying to test some network stack changes. It's depressingly easy to crash HEAD by periodically destroying vlan interfaces while you are sending traffic over those interfaces -- I get a panic within minutes. > http://people.freebsd.org/~glebius/patches/ifnet.no_free This patch makes my test system survive longer but does not resolve the issue.