From nobody Thu Dec 21 18:55:54 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sx04p2H9Wz547b0; Thu, 21 Dec 2023 18:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sx04p1k0Dz3fC9; Thu, 21 Dec 2023 18:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703184954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rb4MfkJ62YmiIpEisVX3FiogFfKMurBMJbi8Q1fzqYI=; b=mrZ6er+g+/LFpWHkYIVLwX35O59HaMTGgQ7WmQxlqkH4rP4OC9EwHy6gmV+K0MCCcbEO4W m9PFRxsA8GJyL4rDYQGRLjCh9sZ+IcLtqeKYllj0lNfld6fDimqfzqAK1gvAzFJCR9+Rlj fw5t8N9fuW85S6jkCNgnAoQe9umJpgUixFYs43usexNGUsQEVEFaxK27nNCtc2Q064cMun X46ghn1/XQCE/9KF6qROe0pmh/BFGcrl/2SL5tiN0/RLZnCu0Y5PX7gFIsIbVcixR9ZHpF d96ANcGbT1i2qzZrLohn79ZQOGOK3+bNjoXtlRqktBj234CrjwFhZFGPHdNgPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703184954; a=rsa-sha256; cv=none; b=sV+nBnV8cv6EX7NKPRwnILqjV/uBAbHUr+q5o4v7SjoIZTJHl1Uz3ZA50hNwL+a/CLQZDv 8Tkg9wVdW0qzIYNP047KJZjnNNMNklp/n/Ron+lrKreNUY/EXwtcfYb1dH/eXB54ySwtlF LpaIw1QwglEy6egQc8VIabA6gRXjLMOCuLbFz/HuF0Xc5UrDLqJOKxzOTFnG8ldrwasROu mMbKhw1OzmmwcC/CZkDx3K5OAZ6kqoWEWeYrdq+U2lR0GzA+Ha1Bbrwv7S781yZ3TPoSFG 9yjcTH4YYNdN1e9x4lnGHSsYvgX4WzzphHUt2mv0D0iewLcdrbQpJ0NzXHfSAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703184954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rb4MfkJ62YmiIpEisVX3FiogFfKMurBMJbi8Q1fzqYI=; b=xMARfSBCOK/TWfTBcZyyecg2SWO6CKZwQQoQf64d5z0Lca3JsBS1TKp6h1hjRRAQROeJlM weX29dty5+9S55LPRNT1vDy196dNP915wDxL+z727E1CFJLh784fLO2iWZwZ4dqjRYmvv6 TfWLktvmlXeMA0QAAZno7ihi/2DXgPJioVRB61XmmbP9379qXKzjxnXt73gShKfBKFdVzS pSl2pk/78YUKjUhTQ5bOZe7xEXDt1rHbS3Kmxdfwv4XN1t8H/cNGmHpYnlmqnA4W+caVOe Id96M7+pX5CLPallngBvcWS3Dvu78FkaQBdXSW2/u4I02gEzWOnhWuBzUWSyvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sx04p0mmYzkkx; Thu, 21 Dec 2023 18:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BLItsLs000479; Thu, 21 Dec 2023 18:55:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BLIts7m000476; Thu, 21 Dec 2023 18:55:54 GMT (envelope-from git) Date: Thu, 21 Dec 2023 18:55:54 GMT Message-Id: <202312211855.3BLIts7m000476@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: c1c55da49fd5 - main - pfil: don't leak pfil_head_t on interface detach List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c1c55da49fd55c01771f8cf1f7255a37b79735d7 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=c1c55da49fd55c01771f8cf1f7255a37b79735d7 commit c1c55da49fd55c01771f8cf1f7255a37b79735d7 Author: Gleb Smirnoff AuthorDate: 2023-12-21 18:53:49 +0000 Commit: Gleb Smirnoff CommitDate: 2023-12-21 18:53:49 +0000 pfil: don't leak pfil_head_t on interface detach PR: 256714 Submitted by: jcaplan@blackberry.com --- sys/net/pfil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/pfil.c b/sys/net/pfil.c index 4b4eeca362c1..3ceffcefb758 100644 --- a/sys/net/pfil.c +++ b/sys/net/pfil.c @@ -295,6 +295,7 @@ pfil_head_unregister(pfil_head_t ph) free(link, M_PFIL); } PFIL_UNLOCK(); + free(ph, M_PFIL); } pfil_hook_t