From ebbdfe44aa321a2de35ddccaa255d384a5fd99e4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 22 Dec 2020 17:32:53 +0100 Subject: xdp: mount /sys/fs/bpf on startup for later map population --- scripts/rl-system.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/rl-system.init b/scripts/rl-system.init index b4bf7123..a481e63b 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -178,6 +178,9 @@ start () { chgrp vyattacfg /var/run/vyatta /var/log/vyatta chmod 775 /var/run/vyatta /var/log/vyatta + # mountpoint for bpf maps required by xdp + mount -t bpf none /sys/fs/bpf + update_interface_config create_ssh_host_keys || \ log_failure_msg "can't initialize ssh host keys" -- cgit v1.2.3