]> xenbits.xensource.com Git - qemu-xen.git/commit
ebpf: replace deprecated bpf_program__set_socket_filter
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:36:16 +0000 (14:36 +0100)
commit27ca28d169038bf7fe70341c4cbb8fddd3791e8b
tree35983706480d72397e6eaa07da199fd176863e9e
parentb746458e1ce1bec85e58b458386f8b7a0bedfaa6
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