History

bpf, docs: Fix bpf_redirect_peer header doc

Amend the bpf_redirect_peer() header documentation to also mention support for the netkit device type.

Victor Stewart committed 2 years ago

Commit f98df791 parent 4eaafe51 file · +3 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/bpf.h+3−3
@@ -4839,9 +4839,9 @@ union bpf_attr { · 4838 unmodified lines
48394839 * going through the CPU's backlog queue.
48404840 *
48414841 * The *flags* argument is reserved and must be 0. The helper is
4842− * currently only supported for tc BPF program types at the ingress
4843− * hook and for veth device types. The peer device must reside in a
4844− * different network namespace.
4842+ * currently only supported for tc BPF program types at the
4843+ * ingress hook and for veth and netkit target device types. The
4844+ * peer device must reside in a different network namespace.
48454845 * Return
48464846 * The helper returns **TC_ACT_REDIRECT** on success or
48474847 * **TC_ACT_SHOT** on error.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t