Re: [PATCH] io_uring/cmd_net: fix too strict requirement on ioctl

From: Jens Axboe

Date: Mon Feb 16 2026 - 10:31:09 EST



On Mon, 16 Feb 2026 10:27:18 +0000, Asbjørn Sloth Tønnesen wrote:
> Attempting SOCKET_URING_OP_SETSOCKOPT on an AF_NETLINK socket resulted
> in an -EOPNOTSUPP, as AF_NETLINK doesn't have an ioctl in its struct
> proto, but only in struct proto_ops.
>
> Prior to the blamed commit, io_uring_cmd_sock() only had two cmd_op
> operations, both requiring ioctl, thus the check was warranted.
>
> [...]

Applied, thanks!

[1/1] io_uring/cmd_net: fix too strict requirement on ioctl
commit: 600b665b903733bd60334e86031b157cc823ee55

Best regards,
--
Jens Axboe