diff options
author | Chen Yahui <goodluckwillcomesoon@gmail.com> | 2022-09-16 21:07:57 +0800 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-09-28 08:06:01 +0000 |
commit | ce668aa3f6b79ca505d1282ee4ba2b3c26fb126c (patch) | |
tree | f10a83f222fe04091ded3805fde438b60f3af900 /extras/strongswan/vpp_sswan/kernel_vpp_net.c | |
parent | 76a1d0580a4b05d7908e0b05bf6ceb974703f96d (diff) |
af_xdp: change RLIMIT_MEMLOCK before load bpf program
default RLIMIT_MEMLOCK is 64. if we use multi af_xdp interfaces or
load complex bpf program, libbpf will return permission error.
root cause is default 64 is not large enough. So we change it before
load bpf program.
Type: fix
Change-Id: Ia6aed19c9256c498cf1155586a54a32b3f444105
Signed-off-by: Chen Yahui <goodluckwillcomesoon@gmail.com>
Diffstat (limited to 'extras/strongswan/vpp_sswan/kernel_vpp_net.c')
0 files changed, 0 insertions, 0 deletions