diff options
| author | Donald Hunter <[email protected]> | 2024-04-18 10:47:37 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-23 00:20:42 +0000 |
| commit | bf2ac490d28c21a349e9eef81edc45320fca4a3c (patch) | |
| tree | 09702751cd4aafe13792b87adc32bcd4217ad755 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | tools/net/ynl: Add multi message support to ynl (diff) | |
| download | kernel-bf2ac490d28c21a349e9eef81edc45320fca4a3c.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
