From nobody Wed Oct 05 10:39:53 2022 X-Original-To: dev-commits-src-main@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 4MjB0V1QNxz4dwdf; Wed, 5 Oct 2022 10:39: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 4MjB0V0vr0z3HLw; Wed, 5 Oct 2022 10:39:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664966394; 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=qISsCy0kAb4Q02/lLitYI9PJCaAR/VN12zrq6YBnl3Q=; b=ZyAQCNYZs6FWWdShkujy5arztANH+EDvxVl6ZNO4s+Ddyca56Tp3SfatCHc+QaE2xrY/z2 UOh351+39WNGZaCzvFDyFR87PjMkw0uMgLPrq9PwgJ0K1ywSsDeZnHllE7a7dmkelhis73 pwloYKsNHxV62fbCjbhwNvsaiUpHGKIHEGLddWyMukP4Sk05uNJC8g7xQbA6qiW5fJJy6R p2vFv7pWaNPEpuZMGa921/sz6riItPf4d9LEQmK1eB5Cj2d2U+1qyMNECMu33n4Nc/Wvyh IVjElofvAXgeA0J7oHzNQe2uvVbu8UKH6nJkykrnGzPRrjyXV9uRBLiIXGlRrQ== 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 4MjB0T6rtqzsjD; Wed, 5 Oct 2022 10:39:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 295AdrlC006399; Wed, 5 Oct 2022 10:39:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 295Adrt4006398; Wed, 5 Oct 2022 10:39:53 GMT (envelope-from git) Date: Wed, 5 Oct 2022 10:39:53 GMT Message-Id: <202210051039.295Adrt4006398@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 1fc839f48921 - main - if_vxlan(4): Add missing statistic for input packets List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1fc839f48921919dea386966e0ce4f20c26dcecf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664966394; 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=qISsCy0kAb4Q02/lLitYI9PJCaAR/VN12zrq6YBnl3Q=; b=LSxlwBTsT3HwDG91s/ycP/xoB8KyGIolmA8wbzp6IMaZNRzQVy6AQ7LO3BorpgDsYl1dl0 16zZfPUEQUQwA23hoNm5Kms5tiE+Sj21eKv6mwwfa01RlrtMfZvycClRVuIOlm62LUll4j AjjGarHFndEzrH7Fv/lxcNwOGQZZpKA7fGpdBCgRn2LRjhz43RfRVOpcZHl5Zk53YVypP4 jGr0Rm1fD2ykPJFJ80Gk5kdO3zyzwotJ3a9viTeSTgAt5oSMCh+q2iM5fXo17NKZroZvBm b9gRATYmSqek2mF4lTpf+JTVHA2T3y0ezkaCiI7OvD+N8K8c1xcvTBoHbMGMVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664966394; a=rsa-sha256; cv=none; b=Ug0fP7AftaS2RXcmZTL7zt5PvRPmIrARCsd6ZxFjBGDLnNXgqk4WseagIsA3sGLSKUGMoY UIDVLbPTqo7zEhb+O9aTfQdL8AyLL8oWU1Lw6fxetTkJ0df5UsvYTp0QvOTcp5Uyh8FpvK zaflngOtwTQrmHU8ewLhCvVx4FrkyuxBBSTUhUwMr29fI/OcEFLAuwOQlACwFJAP6cazFn faFrrl+8ZlvA2k0ZjTAoA/5Qkxen6up+wkq+/VaHUyvJzRV9AC6z1fGXHG5DJp4/EBAgdV +FWC7SlO3RdOkL4N02B4ARhnmjppPqsuDZh/QOMa5YAa36khysWGEXIkG8k/hQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=1fc839f48921919dea386966e0ce4f20c26dcecf commit 1fc839f48921919dea386966e0ce4f20c26dcecf Author: Zhenlei Huang AuthorDate: 2022-10-05 10:38:30 +0000 Commit: Kristof Provost CommitDate: 2022-10-05 10:38:30 +0000 if_vxlan(4): Add missing statistic for input packets Event: Aberdeen hackathon 2022 Reviewed by: bryanv, kp Differential Revision: https://reviews.freebsd.org/D36841 --- sys/net/if_vxlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c index cba2ba4b0a16..500eb520cd1b 100644 --- a/sys/net/if_vxlan.c +++ b/sys/net/if_vxlan.c @@ -2894,6 +2894,7 @@ vxlan_input(struct vxlan_socket *vso, uint32_t vni, struct mbuf **m0, m->m_pkthdr.csum_data = 0; } + if_inc_counter(ifp, IFCOUNTER_IPACKETS, 1); (*ifp->if_input)(ifp, m); *m0 = NULL; error = 0;