diff options
| author | Jakub Kicinski <[email protected]> | 2024-03-03 05:24:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-03-06 08:07:45 +0000 |
| commit | 87d381973e49404f658d6923a617932eeda9415f (patch) | |
| tree | 8069890c728fffcb03b85d354c5cb5b76a3b5a2c /tools/net/ynl/cli.py | |
| parent | netdev: let netlink core handle -EMSGSIZE errors (diff) | |
| download | kernel-87d381973e49404f658d6923a617932eeda9415f.tar.gz kernel-87d381973e49404f658d6923a617932eeda9415f.zip | |
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 <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions
