]> Git Repo - linux.git/commit
netlink: add support for formatted extack messages
authorEdward Cree <[email protected]>
Tue, 18 Oct 2022 14:37:27 +0000 (15:37 +0100)
committerJakub Kicinski <[email protected]>
Wed, 19 Oct 2022 20:00:04 +0000 (13:00 -0700)
commit51c352bdbcd23d7ce46b06c1e64c82754dc44044
tree9bd79cfe375349b5afa3be84fe04a27ae0c8e791
parenta526a3cc9c8d426713f8bebc18ebbe39a8495d82
netlink: add support for formatted extack messages

Include an 80-byte buffer in struct netlink_ext_ack that can be used
 for scnprintf()ed messages.  This does mean that the resulting string
 can't be enumerated, translated etc. in the way NL_SET_ERR_MSG() was
 designed to allow.

Signed-off-by: Edward Cree <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
include/linux/netlink.h
This page took 0.058239 seconds and 4 git commands to generate.