Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 21:23:46 +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-12@freebsd.org
Subject:   svn commit: r364548 - stable/12/sys/netinet
Message-ID:  <202008232123.07NLNkWn060347@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sun Aug 23 21:23:45 2020
New Revision: 364548
URL: https://svnweb.freebsd.org/changeset/base/364548

Log:
  MFC r358080:
  Remove unused function.

Modified:
  stable/12/sys/netinet/sctp_bsd_addr.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netinet/sctp_bsd_addr.c
==============================================================================
--- stable/12/sys/netinet/sctp_bsd_addr.c	Sun Aug 23 21:22:13 2020	(r364547)
+++ stable/12/sys/netinet/sctp_bsd_addr.c	Sun Aug 23 21:23:45 2020	(r364548)
@@ -362,23 +362,6 @@ sctp_addr_change_event_handler(void *arg __unused, str
 	sctp_addr_change(ifa, cmd);
 }
 
-void
-     sctp_add_or_del_interfaces(int (*pred) (struct ifnet *), int add){
-	struct ifnet *ifn;
-	struct ifaddr *ifa;
-
-	IFNET_RLOCK();
-	CK_STAILQ_FOREACH(ifn, &MODULE_GLOBAL(ifnet), if_link) {
-		if (!(*pred) (ifn)) {
-			continue;
-		}
-		CK_STAILQ_FOREACH(ifa, &ifn->if_addrhead, ifa_link) {
-			sctp_addr_change(ifa, add ? RTM_ADD : RTM_DELETE);
-		}
-	}
-	IFNET_RUNLOCK();
-}
-
 struct mbuf *
 sctp_get_mbuf_for_msg(unsigned int space_needed, int want_header,
     int how, int allonebuf, int type)



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