Index: tcp_subr.c =================================================================== RCS file: /cvs/src/sys/netinet/tcp_subr.c,v retrieving revision 1.133 diff -u -p -r1.133 tcp_subr.c --- tcp_subr.c 20 Oct 2014 03:43:40 -0000 1.133 +++ tcp_subr.c 4 Nov 2014 04:39:47 -0000 @@ -956,7 +956,7 @@ tcp_set_iss_tsm(struct tcpcb *tp) uint8_t bytes[SHA512_DIGEST_LENGTH]; uint32_t words[2]; } digest; - + u_int rtable = rtable_l2(tp->t_inpcb->inp_rtableid); if (tcp_secret_init == 0) { arc4random_buf(tcp_secret, sizeof(tcp_secret)); @@ -965,6 +965,7 @@ tcp_set_iss_tsm(struct tcpcb *tp) tcp_secret_init = 1; } ctx = tcp_secret_ctx; + SHA512Update(&ctx, (char *)&rtable, sizeof(rtable)); SHA512Update(&ctx, (char *)&tp->t_inpcb->inp_lport, sizeof(u_short)); SHA512Update(&ctx, (char *)&tp->t_inpcb->inp_fport, sizeof(u_short)); if (tp->pf == AF_INET6) {