aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorDonald Hunter <[email protected]>2025-05-23 10:30:31 +0000
committerJakub Kicinski <[email protected]>2025-05-28 00:31:42 +0000
commit09d7ff0694ea133c50ad905fd6e548c13f8af458 (patch)
tree0714040382108af03f47599c0dd606a71c389483 /net/tipc
parentnet: phy: mediatek: Add Airoha AN7583 PHY support (diff)
downloadkernel-09d7ff0694ea133c50ad905fd6e548c13f8af458.tar.gz
kernel-09d7ff0694ea133c50ad905fd6e548c13f8af458.zip
tools: ynl: parse extack for sub-messages
Extend the Python YNL extack decoding to handle sub-messages in the same way that YNL C does. This involves retaining the input values so that they are available during extack decoding. ./tools/net/ynl/pyynl/cli.py --family rt-link --do newlink --create \ --json '{ "linkinfo": {"kind": "netkit", "data": {"policy": 10} } }' Netlink error: Invalid argument nl_len = 92 (76) nl_flags = 0x300 nl_type = 2 error: -22 extack: {'msg': 'Provided default xmit policy not supported', 'bad-attr': '.linkinfo.data(netkit).policy'} Signed-off-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions