summaryrefslogtreecommitdiffstats
path: root/samples/bpf/tc_l2_redirect_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/tc_l2_redirect_kern.c')
-rw-r--r--samples/bpf/tc_l2_redirect_kern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/tc_l2_redirect_kern.c b/samples/bpf/tc_l2_redirect_kern.c
index 92a44729dbe4..7ef2a12b25b2 100644
--- a/samples/bpf/tc_l2_redirect_kern.c
+++ b/samples/bpf/tc_l2_redirect_kern.c
@@ -4,6 +4,7 @@
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*/
+#define KBUILD_MODNAME "foo"
#include <uapi/linux/bpf.h>
#include <uapi/linux/if_ether.h>
#include <uapi/linux/if_packet.h>