]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix nexhtop group index array scaling.
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Mon, 29 Mar 2021 23:00:17 +0000 (23:00 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Wed, 31 Mar 2021 20:00:10 +0000 (20:00 +0000)
commitb7fbdb5042c619221ee0b97573affcb8bcb59458
tree2381cf4526f406b73b4c69d05ae3b74798855aa0
parent40d278253d205f35ec368c93b7400baddda1b81e
Fix nexhtop group index array scaling.

The current code has the limit of 127 nexthop groups due to the
 wrongly-checked bitmask_copy() return value.

PR: 254303
Reported by: Aleks <a.ivanov at veesp.com>
Approved by: re (gjb)

(cherry picked from commit 923e7f7e12670e97b097a195e69c848a6e8773a2)
sys/net/route/nhgrp.c