From: Xin Long <lucien.xin@xxxxxxxxx> Date: Wed, 3 Jul 2019 18:20:20 +0800 > Now all ctrl chunks are counted for asoc stats.octrlchunks and net > SCTP_MIB_OUTCTRLCHUNKS either after queuing up or bundling, other > than the chunk maked and bundled in sctp_packet_bundle_sack, which > caused 'outctrlchunks' not consistent with 'inctrlchunks' in peer. > > This issue exists since very beginning, here to fix it by increasing > both net SCTP_MIB_OUTCTRLCHUNKS and asoc stats.octrlchunks when sack > chunk is maked and bundled in sctp_packet_bundle_sack. > > Reported-by: Ja Ram Jeon <jajeon@xxxxxxxxxx> > Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx> Applied.