git: 4760956e9ad3 - main - udp: use appropriate pcbinfo when signalling EHOSTDOWN
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Jan 2022 18:21:53 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=4760956e9ad39b940df01477e5a86d06c39ac217
commit 4760956e9ad39b940df01477e5a86d06c39ac217
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-01-01 18:17:17 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-01-01 18:17:17 +0000
udp: use appropriate pcbinfo when signalling EHOSTDOWN
MFC after: 3 days
Sponsored by: Netflix, Inc.
---
sys/netinet/udp_usrreq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 554a042c612e..28a1b3e89a41 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -780,7 +780,7 @@ udp_common_ctlinput(int cmd, struct sockaddr *sa, void *vip,
if (PRC_IS_REDIRECT(cmd)) {
/* signal EHOSTDOWN, as it flushes the cached route */
- in_pcbnotifyall(&V_udbinfo, faddr, EHOSTDOWN, udp_notify);
+ in_pcbnotifyall(pcbinfo, faddr, EHOSTDOWN, udp_notify);
return;
}