aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2016-11-06 02:33:04 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2016-11-06 02:33:04 +0000
commit8432fa5fd916be34f9dccfbdf35ff322054f655c (patch)
tree1e4dce4301fe239286cd514133e25a6a20775070 /sys
parentc15d869233cec56dfa0b54fd5287120f609d9577 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_subr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 77e2d31d0b18..f0e76bf18470 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -2731,6 +2731,7 @@ tcp_signature_do_compute(struct mbuf *m, int len, int optlen,
* Note: Upper-Layer Packet Length comes before Next Header.
*/
case (IPV6_VERSION >> 4):
+ ip6 = mtod(m, struct ip6_hdr *);
in6 = ip6->ip6_src;
in6_clearscope(&in6);
MD5Update(&ctx, (char *)&in6, sizeof(struct in6_addr));