mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC 199459
Get rid of unused fields addr_over which is never really used, only copied around.
This commit is contained in:
parent
64224569da
commit
45bde0da39
3 changed files with 0 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue