Jakub Kicinski 87d381973e genetlink: fit NLMSG_DONE into same read() as families
Make sure ctrl_fill_info() returns sensible error codes and
propagate them out to netlink core. Let netlink core decide
when to return skb->len and when to treat the exit as an
error. Netlink core does better job at it, if we always
return skb->len the core doesn't know when we're done
dumping and NLMSG_DONE ends up in a separate read().

Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-03-06 08:07:45 +00:00
..
2023-10-01 19:09:54 +01:00
2024-02-20 15:32:45 +01:00
2024-02-21 17:11:04 -08:00
2024-01-11 10:07:29 -08:00
2024-03-02 20:50:59 -08:00
2024-03-05 11:21:18 -08:00
2023-12-26 20:31:01 +00:00
2024-03-02 20:50:59 -08:00
2024-03-02 20:50:59 -08:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00