diff options
author | 2001-03-25 09:56:00 +0000 | |
---|---|---|
committer | 2001-03-25 09:56:00 +0000 | |
commit | 672f01bcb6ad5f489e118c0ee163dbcb294f80a2 (patch) | |
tree | 1cfddc1ee356bb97f7ccec4c115f3777874edca4 | |
parent | missing splx. sync with kame. (diff) | |
download | wireguard-openbsd-672f01bcb6ad5f489e118c0ee163dbcb294f80a2.tar.xz wireguard-openbsd-672f01bcb6ad5f489e118c0ee163dbcb294f80a2.zip |
re-initialize mopt in ip6_insert_jumboopt(). sync with kame
From: csapuntz@stanford.edu
-rw-r--r-- | sys/netinet6/ip6_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 02aa5c8e617..c966a3fc14f 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ip6_output.c,v 1.27 2001/03/21 15:01:09 itojun Exp $ */ -/* $KAME: ip6_output.c,v 1.171 2001/03/21 07:30:48 itojun Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.28 2001/03/25 09:56:00 itojun Exp $ */ +/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -1186,7 +1186,7 @@ ip6_insert_jumboopt(exthdrs, plen) oldoptlen); optbuf = mtod(n, caddr_t) + oldoptlen; m_freem(mopt); - exthdrs->ip6e_hbh = n; + mopt = exthdrs->ip6e_hbh = n; } else { optbuf = mtod(mopt, u_char *) + mopt->m_len; mopt->m_len += JUMBOOPTLEN; |