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

Function tcp_fastopen_ccache_entry_drop

freebsd/netinet/tcp_fastopen.c:1137–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1135}
1136
1137static void
1138tcp_fastopen_ccache_entry_drop(struct tcp_fastopen_ccache_entry *cce,
1139 struct tcp_fastopen_ccache_bucket *ccb)
1140{
1141
1142 CCB_LOCK_ASSERT(ccb);
1143
1144 TAILQ_REMOVE(&ccb->ccb_entries, cce, cce_link);
1145 ccb->ccb_num_entries--;
1146 uma_zfree(V_tcp_fastopen_ccache.zone, cce);
1147}
1148
1149static int
1150sysctl_net_inet_tcp_fastopen_ccache_list(SYSCTL_HANDLER_ARGS)

Callers 1

Calls 1

uma_zfreeFunction · 0.50

Tested by

no test coverage detected