From nobody Sat Feb 18 11:55:52 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 4PJnFP3szyz3s74b; Sat, 18 Feb 2023 11:55:53 +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 4PJnFN5BFKz3CL5; Sat, 18 Feb 2023 11:55:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676721352; 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=tUgtC1dWD3tDhyht47YKJ/JcZg648UfxfBysQpA1QQQ=; b=ODlIqIrAAPFu7cpMERWU8ZOZqvBs1FCGA6uPCllrfC93xTI8wHFebIL10WKzjvLslzWMMa 0dwziWHB41rugyshZHoDIfxdhgNgJh3hW/9PFwpkezFq3noLCVRQKxVv/+6BnFN7FmTzpw CM/UBDS2Mj+7ShmT63jwBt+b1uL0jiG8mkbIR2+/ySGs05sHGo2Fh6MU6mRIJI7FjV3y4s ZrV7WakaWmemM9smruXXjT7IRm3D0sCsa4FCl4VLoOLeDLiFFCtDK4kcKFFcnSAj7wUZ40 +o8wFZca710e1a+MF0h5+vcIUAT3X7sWz44egk7eMhXZES2+y1Wdww/eRLnCuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676721352; 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=tUgtC1dWD3tDhyht47YKJ/JcZg648UfxfBysQpA1QQQ=; b=BCx3jl0B7yb2LZzHbybrjuS0jnUk2vR2eD8W5Dvv/0+u5OMN141y9jFgsSNLsORy9vuCc4 k8xRdQajY0M1gXPa4AuTDdAfjU8vfnWGxRWjsu5LwpxfPwASGk7k69Mbw93LohPzAci2uR Subgq4JUD8YwiPGxlzGlo76nlF78Z8zEjsoubzXs1g0vSCMdUs6MVWwk3wCRPtVDUZhzRS iyQOMcScPJMayiS648DTQ+mFd+5vLxlHUZomj7ts5E1pRBK89d+JgbFrKZD37jc2IdZcyZ ErNL5Ce17aU/Hi7Fq7nZ+iMnIT4mwYWI5Zi6ogckVrVWEWxMUzv4xBTogt3RyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676721352; a=rsa-sha256; cv=none; b=YLXYn0j665m+pCn+Otb0slV/S/1kIATiPv08jYtL2NH7KzfZm16+iml+G0LTE9uGi8/gQn SSs7RWRa/pfanqlTwyxPeMvfi0haDIwVlJV78ZH3rhIVSm+KlyMM+YfVF3gvMsiicZ8aqW VLCqCQISqn3wvi/FWGMaitLR9LUHJCMdYBR9DQUDMkaviSasKHp7aAJwvoCYAvSZHKoq1l nfcMYkSW95K1Tw+ju76oNnCNrIAcFkL3m0mmlUQKpWb42iTMKuNGXOrXdN/p6/ybLoY3hD wzGIMQoqkMGSXNcfUrjzxD6La0qQoyvR3F5cKChVsgvoWa/sZ7Zh9FcOUKmTLQ== 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 4PJnFN4J9ZzM7G; Sat, 18 Feb 2023 11:55:52 +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 31IBtqCr069613; Sat, 18 Feb 2023 11:55:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31IBtq0g069612; Sat, 18 Feb 2023 11:55:52 GMT (envelope-from git) Date: Sat, 18 Feb 2023 11:55:52 GMT Message-Id: <202302181155.31IBtq0g069612@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 4a081cc5a44e - stable/13 - netlink: add forgotten pru_rcvd handler. 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: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4a081cc5a44e97794df5dae3df4a49c177b9ae4b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=4a081cc5a44e97794df5dae3df4a49c177b9ae4b commit 4a081cc5a44e97794df5dae3df4a49c177b9ae4b Author: Alexander V. Chernikov AuthorDate: 2023-02-18 11:48:40 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-02-18 11:53:54 +0000 netlink: add forgotten pru_rcvd handler. There were changes in -HEAD domain/protosw setup logic and .pru_rcvd netlink handler was missed when performing the merge. Lack of this handler resulted in userland being waiting forever when performing large dumps of data. This change restores the handler as direct commit to stable/13. Reported by: Marek Zarychta --- sys/netlink/netlink_domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netlink/netlink_domain.c b/sys/netlink/netlink_domain.c index de96818d5e35..c451274b1e63 100644 --- a/sys/netlink/netlink_domain.c +++ b/sys/netlink/netlink_domain.c @@ -710,6 +710,7 @@ struct pr_usrreqs nl_usrreqs = { .pru_detach = nl_pru_detach, .pru_disconnect = nl_pru_disconnect, .pru_peeraddr = nl_pru_peeraddr, + .pru_rcvd = nl_pru_rcvd, .pru_send = nl_pru_send, //.pru_soreceive = soreceive_dgram, //.pru_sosend = sosend_dgram,