Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 20:16:06 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r361475 - stable/11/sys/netinet
Message-ID:  <202005252016.04PKG6fe025879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Mon May 25 20:16:06 2020
New Revision: 361475
URL: https://svnweb.freebsd.org/changeset/base/361475

Log:
  MFC r361221: Remove redundant check.

Modified:
  stable/11/sys/netinet/sctp_asconf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_asconf.c
==============================================================================
--- stable/11/sys/netinet/sctp_asconf.c	Mon May 25 20:14:34 2020	(r361474)
+++ stable/11/sys/netinet/sctp_asconf.c	Mon May 25 20:16:06 2020	(r361475)
@@ -3044,10 +3044,6 @@ sctp_check_address_list_ep(struct sctp_tcb *stcb, stru
 			    "check_addr_list_ep: laddr->ifa is NULL");
 			continue;
 		}
-		if (laddr->ifa == NULL) {
-			SCTPDBG(SCTP_DEBUG_ASCONF1, "check_addr_list_ep: laddr->ifa->ifa_addr is NULL");
-			continue;
-		}
 		/* do i have it implicitly? */
 		if (sctp_cmpaddr(&laddr->ifa->address.sa, init_addr)) {
 			continue;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005252016.04PKG6fe025879>