| 711 | } |
| 712 | |
| 713 | void |
| 714 | syncache_badack(struct in_conninfo *inc) |
| 715 | { |
| 716 | struct syncache *sc; |
| 717 | struct syncache_head *sch; |
| 718 | |
| 719 | if (syncache_cookiesonly()) |
| 720 | return; |
| 721 | sc = syncache_lookup(inc, &sch); /* returns locked sch */ |
| 722 | SCH_LOCK_ASSERT(sch); |
| 723 | if (sc != NULL) { |
| 724 | syncache_drop(sc, sch); |
| 725 | TCPSTAT_INC(tcps_sc_badack); |
| 726 | } |
| 727 | SCH_UNLOCK(sch); |
| 728 | } |
| 729 | |
| 730 | void |
| 731 | syncache_unreach(struct in_conninfo *inc, tcp_seq th_seq) |
no test coverage detected