sample: bpf: xdp_router_ipv4: Allow the kernel to send arp requests
Lorenzo Bianconi authored
[ Upstream commit 200a89e3 ]

Forward the packet to the kernel if the gw router mac address is missing
in to trigger ARP discovery.

Fixes: 85bf1f51

 ("samples: bpf: Convert xdp_router_ipv4 to XDP samples helper")
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/60bde5496d108089080504f58199bcf1143ea938.1653471558.git.lorenzo@kernel.org

Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
993b2d0e
Name Last commit Last update
..
acrn sample/acrn: Introduce a sample of HSM ioctl interface usage
auxdisplay .gitignore: prefix local generated files with a slash
binderfs .gitignore: prefix local generated files with a slash
bpf sample: bpf: xdp_router_ipv4: Allow the kernel to send arp requests
configfs treewide: remove editor modelines and cruft
connector .gitignore: prefix local generated files with a slash
coresight coresight: syscfg: Example CoreSight configuration loadable module
fanotify Add gitignore file for samples/fanotify/ subdirectory
fprobe Merge tag 'trace-v5.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
ftrace x86/ibt,ftrace: Add ENDBR to samples/ftrace
hidraw .gitignore: prefix local generated files with a slash
hw_breakpoint samples/hw_breakpoint: drop use of kallsyms_lookup_name()
kdb kdb: Rename members of struct kdbtab_t
kfifo samples/kfifo: Rename read_lock/write_lock
kmemleak mm,kmemleak-test.c: move kmemleak-test.c to samples dir
kobject samples/kobject: Use sysfs_emit instead of sprintf
kprobes samples: Use KSYM_NAME_LEN for kprobes
landlock samples/landlock: Add support for file reparenting
livepatch livepatch: Reorder to use before freeing a pointer
mei samples: mei: don't wait on read completion upon write.
nitro_enclaves nitro_enclaves: Add fixes for checkpatch blank line reports
pidfd .gitignore: prefix local generated files with a slash
pktgen samples: pktgen: add trap SIGINT for printing execution result
qmi samples: qmi: Constify static qmi ops
rpmsg samples/rpmsg: Introduce a module parameter for message count
seccomp
timers
trace_events
trace_printk
uhid
user_events
v4l
vfio-mdev
vfs
watch_queue
watchdog
Kconfig
Makefile