]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Warn when we try to build MAXVIFS > 256
authorDonald Sharp <sharpd@nvidia.com>
Fri, 11 Sep 2020 12:27:28 +0000 (08:27 -0400)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 6 Oct 2020 12:54:24 +0000 (15:54 +0300)
commitf821c9d41413fef3d61d488f2a60ff6eef90807c
tree223deb4cf40604f9e169c97da45d2a0e22538274
parentb37818ee0bf2d1253936b51b5a5861adfeeabc2d
pimd: Warn when we try to build MAXVIFS > 256

We use the pim mroute socket for kernel notifications of events.
Currently this is limited to 8 bits of data.  There are patches
coming down the pike in kernel land to allow this to expand.
Rather than fix this and all the other places we assume MAXVIFS < 256
in the pim code right now.  Leave a land mine for the developer
doing this work to point them in the right direction.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pimd/pimd.c