aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2024-09-30 17:53:57 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2024-09-30 17:53:57 +0000
commita2e4f45480c248036b002904ddbceef20ba7c523 (patch)
tree50845e18903070b6cfc2f1f09dd4a3e6e9b10ea2
parent030c387f5d74a66d0d5950e3450d6da24237fb2e (diff)
-rw-r--r--sys/netinet/tcp_syncache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 19145446988e..04a964cf40cc 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -229,7 +229,7 @@ syncache_free(struct syncache *sc)
{
if (sc->sc_ipopts)
- (void) m_free(sc->sc_ipopts);
+ (void)m_free(sc->sc_ipopts);
if (sc->sc_cred)
crfree(sc->sc_cred);
#ifdef MAC
@@ -1520,7 +1520,7 @@ syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
* forget it and use the new one we've been given.
*/
if (sc->sc_ipopts)
- (void) m_free(sc->sc_ipopts);
+ (void)m_free(sc->sc_ipopts);
sc->sc_ipopts = ipopts;
}
/*
@@ -1605,7 +1605,7 @@ syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
__func__));
SCH_UNLOCK(sch);
if (ipopts)
- (void) m_free(ipopts);
+ (void)m_free(ipopts);
goto done;
}
}