diff options
author | Donald Hunter <donald.hunter@gmail.com> | 2024-04-18 11:47:37 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-22 17:20:42 -0700 |
commit | bf2ac490d28c21a349e9eef81edc45320fca4a3c (patch) | |
tree | 09702751cd4aafe13792b87adc32bcd4217ad755 /tools/testing/selftests/net/lib/py/utils.py | |
parent | ba8be00f68f5c70eb1df2193251a579923bd9501 (diff) | |
download | linux-bf2ac490d28c21a349e9eef81edc45320fca4a3c.tar.gz linux-bf2ac490d28c21a349e9eef81edc45320fca4a3c.tar.bz2 linux-bf2ac490d28c21a349e9eef81edc45320fca4a3c.zip |
netfilter: nfnetlink: Handle ACK flags for batch messages
The NLM_F_ACK flag is ignored for nfnetlink batch begin and end
messages. This is a problem for ynl which wants to receive an ack for
every message it sends, not just the commands in between the begin/end
messages.
Add processing for ACKs for begin/end messages and provide responses
when requested.
I have checked that iproute2, pyroute2 and systemd are unaffected by
this change since none of them use NLM_F_ACK for batch begin/end.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240418104737.77914-5-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions