vppinfra: fix SIGBUS in bihash init when running unpriviledged, take two 07/27307/2
authorDamjan Marion <damarion@cisco.com>
Wed, 27 May 2020 14:43:35 +0000 (16:43 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 27 May 2020 17:11:25 +0000 (17:11 +0000)
commit550da2b75ae4f93152e5f8b870443e71da3f6dd4
tree174be923c3d22376538282e888db596314a0aaec
parentaecb10b97fa97b215c415ceaa3cac4c97204922f
vppinfra: fix SIGBUS in bihash init when running unpriviledged, take two

Looks like MAP_LOCK is not enough, so call mlock(...) instead....

Type: fix
Change-Id: I1bc668a2bf3c861ca1c2d376c0fb6bfea87d4f48
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vppinfra/bihash_template.c