OSDN Git Service

Merge branch 'net-control-the-length-of-the-altname-list'
authorJakub Kicinski <kuba@kernel.org>
Fri, 11 Mar 2022 04:15:29 +0000 (20:15 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Mar 2022 04:15:30 +0000 (20:15 -0800)
commit462248536174d95c69e5013f95cf4243cee686e6
treef2284583cd179aa85c97b4f0439c6af6d4414387
parent1926407a4ab0e59d5a27bed7b82029b356d80fa0
parent155fb43b70b5fce341347a77d1af2765d1e8fbb8
Merge branch 'net-control-the-length-of-the-altname-list'

Jakub Kicinski says:

====================
net: control the length of the altname list

Count the memory used for altnames and don't let user
overflow the property nlattr. This was reported by George:
https://lore.kernel.org/all/3e564baf-a1dd-122e-2882-ff143f7eb578@gmail.com/
====================

Link: https://lore.kernel.org/r/20220309182914.423834-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>