Remove an unused parameter.
MFC after: 3 days
This commit is contained in:
parent
cd38c40872
commit
021416fb85
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236450
@ -4516,7 +4516,7 @@ __attribute__((noinline))
|
||||
}
|
||||
if (stcb == NULL) {
|
||||
/* no association, so it's out of the blue... */
|
||||
sctp_handle_ootb(m, iphlen, *offset, sh, inp, NULL,
|
||||
sctp_handle_ootb(m, iphlen, *offset, sh, inp,
|
||||
vrf_id, port);
|
||||
*offset = length;
|
||||
if (locked_tcb) {
|
||||
@ -4554,7 +4554,7 @@ __attribute__((noinline))
|
||||
SCTP_TCB_UNLOCK(locked_tcb);
|
||||
}
|
||||
sctp_handle_ootb(m, iphlen, *offset, sh, inp,
|
||||
NULL, vrf_id, port);
|
||||
vrf_id, port);
|
||||
return (NULL);
|
||||
}
|
||||
} else {
|
||||
@ -5586,7 +5586,7 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset,
|
||||
* NOT respond to any packet.. its OOTB.
|
||||
*/
|
||||
SCTP_TCB_UNLOCK(stcb);
|
||||
sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL,
|
||||
sctp_handle_ootb(m, iphlen, offset, sh, inp,
|
||||
vrf_id, port);
|
||||
goto out_now;
|
||||
}
|
||||
@ -5630,7 +5630,7 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset,
|
||||
}
|
||||
if (stcb == NULL) {
|
||||
/* out of the blue DATA chunk */
|
||||
sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL,
|
||||
sctp_handle_ootb(m, iphlen, offset, sh, inp,
|
||||
vrf_id, port);
|
||||
goto out_now;
|
||||
}
|
||||
@ -5699,7 +5699,7 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset,
|
||||
/*
|
||||
* We consider OOTB any data sent during asoc setup.
|
||||
*/
|
||||
sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL,
|
||||
sctp_handle_ootb(m, iphlen, offset, sh, inp,
|
||||
vrf_id, port);
|
||||
SCTP_TCB_UNLOCK(stcb);
|
||||
goto out_now;
|
||||
|
@ -3994,7 +3994,7 @@ sctp_abort_an_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
||||
|
||||
void
|
||||
sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, struct sctphdr *sh,
|
||||
struct sctp_inpcb *inp, struct mbuf *op_err, uint32_t vrf_id, uint16_t port)
|
||||
struct sctp_inpcb *inp, uint32_t vrf_id, uint16_t port)
|
||||
{
|
||||
struct sctp_chunkhdr *ch, chunk_buf;
|
||||
unsigned int chk_length;
|
||||
@ -4049,7 +4049,7 @@ sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, struct sctphdr *sh,
|
||||
if ((SCTP_BASE_SYSCTL(sctp_blackhole) == 0) ||
|
||||
((SCTP_BASE_SYSCTL(sctp_blackhole) == 1) &&
|
||||
(contains_init_chunk == 0))) {
|
||||
sctp_send_abort(m, iphlen, sh, 0, op_err, vrf_id, port);
|
||||
sctp_send_abort(m, iphlen, sh, 0, NULL, vrf_id, port);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -200,7 +200,7 @@ sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *,
|
||||
|
||||
void
|
||||
sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *,
|
||||
struct sctp_inpcb *, struct mbuf *, uint32_t, uint16_t);
|
||||
struct sctp_inpcb *, uint32_t, uint16_t);
|
||||
|
||||
int
|
||||
sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr,
|
||||
|
Loading…
Reference in New Issue
Block a user