linux-bl808/net/netlink
Jakub Kicinski 0c95cea24f 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>
2022-08-30 12:20:43 +02:00
..
af_netlink.c netlink: factor out extack composition 2022-08-30 12:20:43 +02:00
af_netlink.h
diag.c
genetlink.c genetlink: start to validate reserved header bytes 2022-08-29 12:47:15 +01:00
Kconfig
Makefile
policy.c