From owner-freebsd-net@freebsd.org Fri Apr 8 21:56:25 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBF1EB0866C for ; Fri, 8 Apr 2016 21:56:25 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87E361694 for ; Fri, 8 Apr 2016 21:56:25 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id t129so67575279vkg.2 for ; Fri, 08 Apr 2016 14:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=kVvG74OGozH4+9ucBceUdqcHTKBIc/63lDmSyNSe2yE=; b=J3ugqWBn1T06Q3iL4jTraS1M4ViRNP513BzohSFlirS1kjbxi0yvYOQpU8ppHmzPFC fg/SgElqTMnM1zsDbsovsYGhkzM+Fs0agyDsJonu6UZ3zKnI/My6zNaXNRumiQeWsGeb zH8I6EwnfY27tJyOVMr98zGVAAE1Ul5XTUeZeddbRFvvscxlRThUKJzF6ZTLXwU6bWJM OwK5J3r2iGxPYiNOcptfnFtAdcuEBp4Uum92xIjxRRYp4NsPo4sp+114wEO/5KtOleg6 6mx++Qpy1YAyi7o1axFyAxUvXD/faWeXr00peSzysfYBL9GsXR+yEGxX+eaiaSfP15AI D0aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=kVvG74OGozH4+9ucBceUdqcHTKBIc/63lDmSyNSe2yE=; b=KVwRE+kR6oJdTsNZaz5ZK33mGDvE5EG5Pwjeqy2B2lhMeA7AYRqrlog434XUJSEqTo nkdX3eegrbGpoXWBIpqGFwILn58LDl2K3K7KvRSs2LMtW15OiEdYye8DEOS+7/JNobXc 17EOt9CkgCCWKXy2Lgxm3/z5AgCMEuirM67EDuPKvxRU5KShmFJ0Gri8NsDXu4ZNhfrV 1SumeCu/kxOXdFLcvgYTGfRePRt2EBeMMwCBRzipoQcn+pqSSMsEXKah5YvB28HLPTTq JtZgrUh5s8LG1ogs3dt94bvsKWu9rKN/ms0zkmM4xSvQlP1sXAmTN6O8K9eli3XWeEGm diaw== X-Gm-Message-State: AD7BkJJX0WGH2oS2MyKgA3Kg7AJmy34SCROv3QuvNR+IbNLUnqyOalzkMslsuYpdmDI4tHMdpYVZc8N44THbIQ== MIME-Version: 1.0 X-Received: by 10.176.1.115 with SMTP id 106mr5297199uak.84.1460152584753; Fri, 08 Apr 2016 14:56:24 -0700 (PDT) Received: by 10.31.171.206 with HTTP; Fri, 8 Apr 2016 14:56:24 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Apr 2016 14:56:24 -0700 Message-ID: Subject: Re: Question on sysctl tree handling From: Jack Vogel To: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 21:56:25 -0000 LOL, why does it seem that as soon as I ask the answer hits me in the nose :) I found the sysctl_ctx_free call, sorry for the noise.... Jack On Fri, Apr 8, 2016 at 2:51 PM, Jack Vogel wrote: > > I have a driver design where the queue/ring/irq layout is done in init > rather > than in attach, allowing easy reconfiguration. What I'm not sure about is > how to handle the sysctl tree during a reinit, I don't see a procedure to > free up things so I can restructure :( > > Am I missing something, any pointers or suggestions appreciated. > > Thanks, > > Jack > >