]> 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>
Tue, 30 Mar 2021 07:34:31 +0000 (07:34 +0000)
commit923e7f7e12670e97b097a195e69c848a6e8773a2
treec1f0b3235a08ad3ccc402feada966266cd5cb89f
parent77ffc9399dadaf5d512f3f3e4d51c30edfed2c2a
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>

(cherry picked from commit 9095dc7da4cf0c484fb1160b2180b7329b09b107)
sys/net/route/nhgrp.c