From nobody Sat Jan 01 18:21:53 2022 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 5BBFA1916A2A; Sat, 1 Jan 2022 18:21: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 4JR9MQ04pWz4SnW; Sat, 1 Jan 2022 18:21:54 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 D6C3123166; Sat, 1 Jan 2022 18:21: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 201ILrkv082662; Sat, 1 Jan 2022 18:21:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 201ILrBJ082661; Sat, 1 Jan 2022 18:21:53 GMT (envelope-from git) Date: Sat, 1 Jan 2022 18:21:53 GMT Message-Id: <202201011821.201ILrBJ082661@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: 4760956e9ad3 - main - udp: use appropriate pcbinfo when signalling EHOSTDOWN 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: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4760956e9ad39b940df01477e5a86d06c39ac217 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641061314; 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=2/YFh6Zr5lt1LaeUHk42AHVj0dqVtNBIjYXQh03UjPA=; b=BMhgCdk2fD9jdMDDC77eQM3hxdCWqmgdWY9xf3M0eqR/s5eqMxXzcyhXqKnu35+5DJfHo4 JJ500mIiVcdLD0/5AdYa/gp+o6O2e4rshAscqxsdv8B+k2vvWHrtRVB1tlnxdY/KCEXKdR Lic/F90uoscd33PdNd7A/PhswBuMQkdqGbzOL49ORcWl4uAnDRcKBqoJXSRF8IlkC6gSz+ UzmUDkIySYm6GjYBQQalMYuReNN78qrkv5HDqdZ4Mr5wIZMLeVtd0+dBSHyzk4SmJvKODu /YfX3rsk1lpWFstqjFhkM0rp6iV1OToZS3a/qHHMnYUmzK5ZOkoPCYvaNJNmKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641061314; a=rsa-sha256; cv=none; b=rBOgFDXY46HmhBgHeLA08gzfS+9MvC6BtqAUxr/hve5BZDlgOBF7+1E9gD8NNIrzsYMXb+ Q356eKXseyu0g63ip2c7iTYZEOT0gFYObNskrrPacq1mHZfAkxqgSP/bV/1ixgHqlpNEhR RodgfIcyJGQMH0YHnbKqyV3gGgB20sEzFP1g+PCxKP9nhlC0ZCBHTJopx0AYUMeN2kT1ZT xrSAhxhqUJd39ZVvWpizmgnxJHw8qYhmAJDjviylRpkGnvy+gBJBe2TAx64j+tEjPzqj2m W0a4yj7SAU2uSuhmBYE2Y0B6bKc5IN8fpLsvZhk4AoDxpQd4B3wefFT6Fv63jQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=4760956e9ad39b940df01477e5a86d06c39ac217 commit 4760956e9ad39b940df01477e5a86d06c39ac217 Author: Michael Tuexen AuthorDate: 2022-01-01 18:17:17 +0000 Commit: Michael Tuexen 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; }