summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-01-30 18:34:56 +0000
committerdim <dim@FreeBSD.org>2015-01-30 18:34:56 +0000
commit2f964f86f074cf08cf21337faeaa2ce688f8e88a (patch)
tree5d35a42a19d7965268b546861abddcb0acb27e85 /sys/netinet/tcp_syncache.c
parent6a81e27d5863d222ce25b554541147e5640f6baf (diff)
downloadFreeBSD-src-2f964f86f074cf08cf21337faeaa2ce688f8e88a.zip
FreeBSD-src-2f964f86f074cf08cf21337faeaa2ce688f8e88a.tar.gz
Merge ^/head r277902 through r277944.
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index c7570e2..7d97ae0 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1742,6 +1742,7 @@ syncookie_mac(struct in_conninfo *inc, tcp_seq irs, uint8_t flags,
}
SipHash_Update(&ctx, &inc->inc_fport, sizeof(inc->inc_fport));
SipHash_Update(&ctx, &inc->inc_lport, sizeof(inc->inc_lport));
+ SipHash_Update(&ctx, &irs, sizeof(irs));
SipHash_Update(&ctx, &flags, sizeof(flags));
SipHash_Update(&ctx, &secmod, sizeof(secmod));
SipHash_Final((u_int8_t *)&siphash, &ctx);
OpenPOWER on IntegriCloud