ipv6: record frag_max_size in atomic fragments in input path
authorFrancesco Ruggeri <fruggeri@arista.com>
Fri, 21 May 2021 20:21:14 +0000 (13:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 06:36:25 +0000 (08:36 +0200)
commitbb1ac3cc672d04b5aaa626add603b7fc37029685
tree6c32e709352cb36328114b6f2106cd603ebe934b
parent876bac1e23910a05744476b381d71bb75b5399b3
ipv6: record frag_max_size in atomic fragments in input path

[ Upstream commit e29f011e8fc04b2cdc742a2b9bbfa1b62518381a ]

Commit dbd1759e6a9c ("ipv6: on reassembly, record frag_max_size")
filled the frag_max_size field in IP6CB in the input path.
The field should also be filled in case of atomic fragments.

Fixes: dbd1759e6a9c ('ipv6: on reassembly, record frag_max_size')
Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv6/reassembly.c