git: e8e23ec127d4 - main - sctp: Remove an unused sctp_inpcb field
Mark Johnston
markj at FreeBSD.org
Tue Sep 7 15:25:53 UTC 2021
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=e8e23ec127d44e04c9be1cba381eaa3aa1041ea5
commit e8e23ec127d44e04c9be1cba381eaa3aa1041ea5
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-09-07 13:44:48 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-09-07 15:19:29 +0000
sctp: Remove an unused sctp_inpcb field
This appears to be unused in usrsctp as well. No functional change
intended.
Reviewed by: tuexen
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31812
---
sys/netinet/sctp_input.c | 1 -
sys/netinet/sctp_pcb.h | 1 -
sys/netinet/sctp_peeloff.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c
index 61455e47dd71..77d15dcc955b 100644
--- a/sys/netinet/sctp_input.c
+++ b/sys/netinet/sctp_input.c
@@ -2667,7 +2667,6 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
inp->sctp_context = (*inp_p)->sctp_context;
inp->local_strreset_support = (*inp_p)->local_strreset_support;
inp->fibnum = (*inp_p)->fibnum;
- inp->inp_starting_point_for_iterator = NULL;
/*
* copy in the authentication parameters from the
* original endpoint
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h
index e14c9f39356c..f93e8f11b3e4 100644
--- a/sys/netinet/sctp_pcb.h
+++ b/sys/netinet/sctp_pcb.h
@@ -395,7 +395,6 @@ struct sctp_inpcb {
#ifdef SCTP_TRACK_FREED_ASOCS
struct sctpasochead sctp_asoc_free_list;
#endif
- struct sctp_iterator *inp_starting_point_for_iterator;
uint32_t sctp_frag_point;
uint32_t partial_delivery_point;
uint32_t sctp_context;
diff --git a/sys/netinet/sctp_peeloff.c b/sys/netinet/sctp_peeloff.c
index 6490fb5596b0..aeff4acb9dae 100644
--- a/sys/netinet/sctp_peeloff.c
+++ b/sys/netinet/sctp_peeloff.c
@@ -132,7 +132,6 @@ sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id)
n_inp->sctp_context = inp->sctp_context;
n_inp->max_cwnd = inp->max_cwnd;
n_inp->local_strreset_support = inp->local_strreset_support;
- n_inp->inp_starting_point_for_iterator = NULL;
/* copy in the authentication parameters from the original endpoint */
if (n_inp->sctp_ep.local_hmacs)
sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs);
More information about the dev-commits-src-all
mailing list