[SCTP] Optimize SACK generation.
Wanted to try out profiling, so brought up oprofile. Very suprising result of sctp_tsnmap_find_gap_ack() being one of the hot functions. This should not be! Short-circuit by not even calling if !has_gap.
Showing
Please register or sign in to comment