Re: [PATCH bpf-next 3/3] selftests/bpf: Add selftests for cgroup1 local storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/6/23 3:53 AM, Yafang Shao wrote:
diff --git a/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
  b/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
index 63e776f..317da4d 100644
--- a/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
+++ b/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
@@ -19,6 +19,21 @@ struct socket_cookie {
  	__u64 cookie_value;
  };
+bool is_cgroup1;
+int target_hid;

[ ... ]

+void cgrp2_local_storage(void)

[ ... ]

+void cgrp1_local_storage(void)

Applied with adding 'static' to the above. Thanks!





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux