Fix build errors for samples/bpf xdp_tx_iptunnel and tc_l2_redirect, when dynamic debugging is enabled (CONFIG_DYNAMIC_DEBUG) by defining a fake KBUILD_MODNAME. Just like Daniel Borkmann fixed other samples/bpf in commit96a8eb1eee("bpf: fix samples to add fake KBUILD_MODNAME"). Fixes:12d8bb64e3("bpf: xdp: Add XDP example for head adjustment") Fixes:90e02896f1("bpf: Add test for bpf_redirect to ipip/ip6tnl") Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
5.6 KiB
5.6 KiB