summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/sctp_output.c5
-rw-r--r--sys/netinet/sctp_structs.h4
-rw-r--r--sys/netinet/sctputil.c1
3 files changed, 0 insertions, 10 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 60e18ab..cbc9a9a 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -5875,10 +5875,8 @@ sctp_msg_append(struct sctp_tcb *stcb,
sp->strseq = 0;
if (sp->sinfo_flags & SCTP_ADDR_OVER) {
sp->net = net;
- sp->addr_over = 1;
} else {
sp->net = stcb->asoc.primary_destination;
- sp->addr_over = 0;
}
atomic_add_int(&sp->net->ref_count, 1);
(void)SCTP_GETTIME_TIMEVAL(&sp->ts);
@@ -7052,7 +7050,6 @@ dont_do_it:
chk->rec.data.timetodrop = sp->ts;
chk->flags = sp->act_flags;
- chk->addr_over = sp->addr_over;
chk->whoTo = net;
atomic_add_int(&chk->whoTo->ref_count, 1);
@@ -12252,10 +12249,8 @@ skip_copy:
} else {
if (sp->sinfo_flags & SCTP_ADDR_OVER) {
sp->net = net;
- sp->addr_over = 1;
} else {
sp->net = asoc->primary_destination;
- sp->addr_over = 0;
}
atomic_add_int(&sp->net->ref_count, 1);
sctp_set_prsctp_policy(sp);
diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h
index 595c37c..b1a0f13 100644
--- a/sys/netinet/sctp_structs.h
+++ b/sys/netinet/sctp_structs.h
@@ -364,9 +364,6 @@ struct sctp_tmit_chunk {
uint8_t pad_inplace;
uint8_t do_rtt;
uint8_t book_size_scale;
- uint8_t addr_over; /* flag which is set if the dest address for
- * this chunk is overridden by user. Used for
- * CMT (iyengar@cis.udel.edu, 2005/06/21) */
uint8_t no_fr_allowed;
uint8_t pr_sctp_on;
uint8_t copy_by_ref;
@@ -444,7 +441,6 @@ struct sctp_stream_queue_pending {
uint8_t holds_key_ref;
uint8_t msg_is_complete;
uint8_t some_taken;
- uint8_t addr_over;
uint8_t pr_sctp_on;
uint8_t sender_all_done;
uint8_t put_last_out;
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 3f0b2a2..65de462 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -4791,7 +4791,6 @@ next_on_sent:
chk->rec.data.payloadtype = sp->ppid;
chk->rec.data.context = sp->context;
chk->flags = sp->act_flags;
- chk->addr_over = sp->addr_over;
chk->whoTo = sp->net;
atomic_add_int(&chk->whoTo->ref_count, 1);
chk->rec.data.TSN_seq = atomic_fetchadd_int(&stcb->asoc.sending_seq, 1);
OpenPOWER on IntegriCloud