Take out special code for disable CRC computations on
the loopback interface for IPv6. It will be handled by the loopback interface.
This commit is contained in:
parent
8d065a3914
commit
e635c7b881
@ -4069,15 +4069,9 @@ sctp_lowlevel_chunk_output(struct sctp_inpcb *inp,
|
||||
#if defined(SCTP_WITH_NO_CSUM)
|
||||
SCTP_STAT_INCR(sctps_sendnocrc);
|
||||
#else
|
||||
if (!(SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) &&
|
||||
(stcb) &&
|
||||
(stcb->asoc.loopback_scope))) {
|
||||
m->m_pkthdr.csum_flags = CSUM_SCTP;
|
||||
m->m_pkthdr.csum_data = 0;
|
||||
SCTP_STAT_INCR(sctps_sendhwcrc);
|
||||
} else {
|
||||
SCTP_STAT_INCR(sctps_sendnocrc);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
/* send it out. table id is taken from stcb */
|
||||
|
Loading…
Reference in New Issue
Block a user