summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-08-26 06:09:30 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-08-30 13:20:43 +0300
commit0c95cea24f30eb28d464c593d8fbd64cd305791b (patch)
tree05a577e14b355a97f8b42fba0d5dcb48760a06b4 /Documentation
parent47cf88993c910840d565631ad906abdca9168231 (diff)
downloadlinux-0c95cea24f30eb28d464c593d8fbd64cd305791b.tar.xz
netlink: factor out extack composition
The ext_ack writing code looks very "organically grown". Move the calculation of the size and writing out to helpers. This is more idiomatic and gives us the ability to return early avoiding the long (and randomly ordered) "if" conditions. Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions