| 3934 | } |
| 3935 | |
| 3936 | static void |
| 3937 | tcp_rack_partialack(struct tcpcb *tp, struct tcphdr *th) |
| 3938 | { |
| 3939 | struct tcp_rack *rack; |
| 3940 | |
| 3941 | rack = (struct tcp_rack *)tp->t_fb_ptr; |
| 3942 | INP_WLOCK_ASSERT(tp->t_inpcb); |
| 3943 | /* |
| 3944 | * If we are doing PRR and have enough |
| 3945 | * room to send <or> we are pacing and prr |
| 3946 | * is disabled we will want to see if we |
| 3947 | * can send data (by setting r_wanted_output to |
| 3948 | * true). |
| 3949 | */ |
| 3950 | if ((rack->r_ctl.rc_prr_sndcnt > 0) || |
| 3951 | rack->rack_no_prr) |
| 3952 | rack->r_wanted_output = 1; |
| 3953 | } |
| 3954 | |
| 3955 | static void |
| 3956 | rack_post_recovery(struct tcpcb *tp, struct tcphdr *th) |