Author: stas Date: Fri Jan 8 00:46:28 2016 New Revision: 293402 URL: https://svnweb.freebsd.org/changeset/base/293402
Log: MFC r277938 (by hiren): make syncookie_mac() use 'tcp_seq irs' in computing hash. Modified: stable/10/sys/netinet/tcp_syncache.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/netinet/tcp_syncache.c ============================================================================== --- stable/10/sys/netinet/tcp_syncache.c Fri Jan 8 00:21:55 2016 (r293401) +++ stable/10/sys/netinet/tcp_syncache.c Fri Jan 8 00:46:28 2016 (r293402) @@ -1852,6 +1852,7 @@ syncookie_mac(struct in_conninfo *inc, t } 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); _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"