2 # SPDX-License-Identifier: GPL-2.0
4 # Kselftest framework requirement - SKIP code is 4.
7 if [ $
(id
-u) != 0 ]; then
8 echo $msg must be run as root
>&2
13 echo "--------------------"
14 echo "running psock_fanout test"
15 echo "--------------------"
16 .
/in_netns.sh .
/psock_fanout
24 echo "--------------------"
25 echo "running psock_tpacket test"
26 echo "--------------------"
27 if [ -f /proc
/kallsyms
]; then
28 .
/in_netns.sh .
/psock_tpacket
36 echo "[SKIP] CONFIG_KALLSYMS not enabled"
39 echo "--------------------"
40 echo "running txring_overwrite test"
41 echo "--------------------"
42 .
/in_netns.sh .
/txring_overwrite