Date: Sat, 1 Jan 2022 18:21:53 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4760956e9ad3 - main - udp: use appropriate pcbinfo when signalling EHOSTDOWN Message-ID: <202201011821.201ILrBJ082661@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201011821.201ILrBJ082661>