linux-stable/samples
Zhengchao Shao de5bb43826 samples/bpf: Check detach prog exist or not in xdp_fwd
Before detach the prog, we should check detach prog exist or not.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20220606005425.261967-1-shaozhengchao@huawei.com
2022-06-15 17:26:20 -07:00
..
acrn
auxdisplay
binderfs
bpf samples/bpf: Check detach prog exist or not in xdp_fwd 2022-06-15 17:26:20 -07:00
configfs treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
connector
coresight coresight: syscfg: Example CoreSight configuration loadable module 2021-11-26 11:34:07 -07:00
fanotify Add gitignore file for samples/fanotify/ subdirectory 2021-11-07 11:19:24 -08:00
fprobe fprobe: Add sample program for fprobe 2022-03-17 20:16:58 -07:00
ftrace x86/ibt,ftrace: Add ENDBR to samples/ftrace 2022-03-15 10:32:38 +01:00
hidraw
hw_breakpoint
kdb kdb: Rename members of struct kdbtab_t 2021-07-27 17:05:06 +01:00
kfifo samples/kfifo: Rename read_lock/write_lock 2021-10-13 14:36:48 +02:00
kmemleak
kobject samples/kobject: Use sysfs_emit instead of sprintf 2022-03-18 14:28:29 +01:00
kprobes samples/kretprobes: Fix return value if register_kretprobe() failed 2021-10-26 17:23:46 -04:00
landlock samples/landlock: Add support for file reparenting 2022-05-23 13:28:00 +02:00
livepatch livepatch: Reorder to use before freeing a pointer 2022-03-23 13:51:11 +01:00
mei samples: mei: don't wait on read completion upon write. 2021-08-01 09:54:22 +02:00
nitro_enclaves nitro_enclaves: Add fixes for checkpatch blank line reports 2021-09-14 11:11:20 +02:00
pidfd
pktgen samples: pktgen: add trap SIGINT for printing execution result 2021-08-25 13:44:30 +01:00
qmi
rpmsg
seccomp samples/seccomp: Adjust sample to also provide kill option 2022-02-10 19:09:12 -08:00
timers
trace_events sched/tracing: Append prev_state to tp args instead 2022-05-12 00:37:11 +02:00
trace_printk
uhid
user_events user_events: Add sample code for typical usage 2022-02-10 22:38:15 -05:00
v4l media: v4l2-pci-skeleton: Remove usage of the deprecated "pci-dma-compat.h" API 2022-02-25 17:19:21 +01:00
vfio-mdev vfio/mdev: Remove mdev_parent_ops 2022-04-21 07:36:56 -04:00
vfs
watch_queue
watchdog
Kconfig Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
Makefile Networking changes for 5.18. 2022-03-24 13:13:26 -07:00