MCPcopy Create free account
hub / github.com/F-Stack/f-stack / syncache_badack

Function syncache_badack

freebsd/netinet/tcp_syncache.c:713–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713void
714syncache_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
730void
731syncache_unreach(struct in_conninfo *inc, tcp_seq th_seq)

Callers 1

tcp_inputFunction · 0.85

Calls 3

syncache_cookiesonlyFunction · 0.85
syncache_lookupFunction · 0.85
syncache_dropFunction · 0.85

Tested by

no test coverage detected