File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed
nets/8r-1c-srv6-pm/nodeconf Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,12 @@ sysctl -w net.ipv6.conf.all.forwarding=1
51
51
# echo 0 > $i
52
52
# done
53
53
54
- mount -t bpf bpf /sys/fs/bpf/
54
+ # mount the bpf filesystem.
55
+ # Note: childs of the launching (parent) bash can access this instance
56
+ # of the bpf filesystem. If you need to get access to the bpf filesystem
57
+ # (where maps are available), you need to use nsenter with -m and -t
58
+ # that points to the pid of the parent process (launching bash).
59
+ mount -t bpf bpf /sys/fs/bpf/ || exit $?
55
60
56
61
# source_file_if_defined "${EBPF_START}"
57
62
source_file_if_defined " ${IPSET_START} "
Original file line number Diff line number Diff line change @@ -51,7 +51,12 @@ sysctl -w net.ipv6.conf.all.forwarding=1
51
51
# echo 0 > $i
52
52
# done
53
53
54
- mount -t bpf bpf /sys/fs/bpf/
54
+ # mount the bpf filesystem.
55
+ # Note: childs of the launching (parent) bash can access this instance
56
+ # of the bpf filesystem. If you need to get access to the bpf filesystem
57
+ # (where maps are available), you need to use nsenter with -m and -t
58
+ # that points to the pid of the parent process (launching bash).
59
+ mount -t bpf bpf /sys/fs/bpf/ || exit $?
55
60
56
61
# source_file_if_defined "${EBPF_START}"
57
62
source_file_if_defined " ${IPSET_START} "
Original file line number Diff line number Diff line change @@ -51,7 +51,12 @@ sysctl -w net.ipv6.conf.all.forwarding=1
51
51
# echo 0 > $i
52
52
# done
53
53
54
- mount -t bpf bpf /sys/fs/bpf/
54
+ # mount the bpf filesystem.
55
+ # Note: childs of the launching (parent) bash can access this instance
56
+ # of the bpf filesystem. If you need to get access to the bpf filesystem
57
+ # (where maps are available), you need to use nsenter with -m and -t
58
+ # that points to the pid of the parent process (launching bash).
59
+ mount -t bpf bpf /sys/fs/bpf/ || exit $?
55
60
56
61
# source_file_if_defined "${EBPF_START}"
57
62
source_file_if_defined " ${IPSET_START} "
Original file line number Diff line number Diff line change @@ -51,7 +51,12 @@ sysctl -w net.ipv6.conf.all.forwarding=1
51
51
# echo 0 > $i
52
52
# done
53
53
54
- mount -t bpf bpf /sys/fs/bpf/
54
+ # mount the bpf filesystem.
55
+ # Note: childs of the launching (parent) bash can access this instance
56
+ # of the bpf filesystem. If you need to get access to the bpf filesystem
57
+ # (where maps are available), you need to use nsenter with -m and -t
58
+ # that points to the pid of the parent process (launching bash).
59
+ mount -t bpf bpf /sys/fs/bpf/ || exit $?
55
60
56
61
# source_file_if_defined "${EBPF_START}"
57
62
source_file_if_defined " ${IPSET_START} "
You can’t perform that action at this time.
0 commit comments