summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-01-11 20:01:43 +0000
committerrwatson <rwatson@FreeBSD.org>2009-01-11 20:01:43 +0000
commit903b355d8595c72d954d16462ed6bfab66204e2d (patch)
tree299262e2c70bc20e4c88afcf7fbd2c2f54af105e /sys/netinet/tcp_syncache.c
parentf668a06fbc117d7a14da568d12a0a526faf0430a (diff)
downloadFreeBSD-src-903b355d8595c72d954d16462ed6bfab66204e2d.zip
FreeBSD-src-903b355d8595c72d954d16462ed6bfab66204e2d.tar.gz
Since we allow conditional allocation of labels on syncache entries,
remove historic assertion that labels are always present.
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 18fab28..9faca96 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1070,8 +1070,6 @@ _syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
* have an initialized label we can use.
*/
mac_syncache_destroy(&maclabel);
- KASSERT(sc->sc_label != NULL,
- ("%s: label not initialized", __func__));
#endif
/* Retransmit SYN|ACK and reset retransmit count. */
if ((s = tcp_log_addrs(&sc->sc_inc, th, NULL, NULL))) {
OpenPOWER on IntegriCloud