]> xenbits.xensource.com Git - qemu-xen.git/commit
ebpf: replace deprecated bpf_program__set_socket_filter qemu-xen-4.16.3 qemu-xen-4.16.4
authorHaochen Tong <i@hexchain.org>
Fri, 27 May 2022 19:06:58 +0000 (03:06 +0800)
committerAnthony PERARD <anthony.perard@gmail.com>
Thu, 20 Oct 2022 13:39:06 +0000 (14:39 +0100)
commit62dd49f2172fb7dfe8d4223bfa45aede05155328
treef7da79f002f275491ff12af36bfad33eb55c5b19
parent107951211a8d17658e1aaa0c23a8cf29f8806ad8
ebpf: replace deprecated bpf_program__set_socket_filter

bpf_program__set_<TYPE> functions have been deprecated since libbpf 0.8.
Replace with the equivalent bpf_program__set_type call to avoid a
deprecation warning.

Signed-off-by: Haochen Tong <i@hexchain.org>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit a495eba03c31c96d6a0817b13598ce2219326691)
ebpf/ebpf_rss.c