Bjoern A. Zeeb 3db6053160 ip6_output: fix regression introduced in r358167 for ipv6 fragmentation
When moving the calculations for the optlen into the if (opt) block
which deals with possible extension headers I failed to initialise
unfragpartlen to the ipv6 header length if there were no extension
headers present.  Correct that mistake to make IPv6 fragment length
calculcations work again.

Reported by:	hselasky, kp
OKed by:	hselasky, kp
MFC after:	3 days
X-MFC with:	r358167
PR:		244393
2020-02-25 15:03:41 +00:00
..
2020-01-22 13:53:18 +00:00
2019-08-02 07:41:36 +00:00
2019-12-06 16:53:42 +00:00
2019-11-18 21:59:47 +00:00
2019-11-19 21:08:18 +00:00
2020-01-12 16:58:21 +00:00
2020-01-31 02:23:48 +00:00