diff options
| author | Mina Almasry <almasrymina@google.com> | 2026-09-21 19:54:12 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-22 18:40:15 -0700 |
| commit | 73b3fc67a493e9b9a8e94a38839f6638d12fe7a6 (patch) | |
| tree | ddeb94135ac9a92f695825d61e33c0da85354817 /tools/lib/python/kdoc/python_version.py | |
| parent | cae23ae3f7887a1cf8a75da38edcebeef695040f (diff) | |
| download | linux-next-73b3fc67a493e9b9a8e94a38839f6638d12fe7a6.tar.gz linux-next-73b3fc67a493e9b9a8e94a38839f6638d12fe7a6.zip | |
net: devmem: document that bind-tx is unprivileged by design
Unlike bind-rx, which configures shared NIC RX queues to steer incoming
traffic into the caller's dmabuf and requires CAP_NET_ADMIN
(uns-admin-perm), bind-tx only DMA-maps the caller's dmabuf so the caller
can transmit from it on their own sockets without affecting other traffic
or device configuration.
Add a comment in netdev.yaml and above netdev_nl_bind_tx_doit() to make it
explicit that NETDEV_CMD_BIND_TX is unprivileged by design.
Signed-off-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://patch.msgid.link/20260921195545.493253-1-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
