git: 3c87ba3c3bb0 - main - unix/dgram: pru_rcvd never called since PR_WANTRCVD not set

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Thu, 12 May 2022 18:05:18 UTC
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=3c87ba3c3bb09d6a5c6970c4653c8d3fe6b8c6d3

commit 3c87ba3c3bb09d6a5c6970c4653c8d3fe6b8c6d3
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-05-12 18:04:40 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2022-05-12 18:04:40 +0000

    unix/dgram: pru_rcvd never called since PR_WANTRCVD not set
---
 sys/kern/uipc_usrreq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index db61dba62f1a..85207416b356 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1314,7 +1314,6 @@ static struct pr_usrreqs uipc_usrreqs_dgram = {
 	.pru_disconnect =	uipc_disconnect,
 	.pru_listen =		uipc_listen,
 	.pru_peeraddr =		uipc_peeraddr,
-	.pru_rcvd =		uipc_rcvd,
 	.pru_send =		uipc_send,
 	.pru_sense =		uipc_sense,
 	.pru_shutdown =		uipc_shutdown,