diff options
author | Paolo Valerio <pvalerio@redhat.com> | 2022-08-04 18:07:07 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-08-30 22:31:34 +0200 |
commit | 0c4b063190addba46388eefc361e6f40287dea93 (patch) | |
tree | 7b78f8b46c217eb12179ec934c550f321a5d1283 /ovsdb/transaction.c | |
parent | 78dad3a0c8135f299d2a6e60b37260f523305f83 (diff) | |
download | openvswitch-0c4b063190addba46388eefc361e6f40287dea93.tar.gz |
netlink-conntrack: Do not fail to parse if optional TCP protocol attributes are not found.
Some of the CTA_PROTOINFO_TCP nested attributes are not always
included in the received message, but the parsing logic considers them
as required, failing in case they are not found.
This was observed while monitoring some connections by reading the
events sent by conntrack:
./ovstest test-netlink-conntrack monitor
[...]
2022-08-04T09:39:02Z|00007|netlink_conntrack|ERR|Could not parse nested TCP protoinfo
options. Possibly incompatible Linux kernel version.
2022-08-04T09:39:02Z|00008|netlink_notifier|WARN|unexpected netlink message contents
[...]
All the TCP DELETE/DESTROY events fail to parse with the message
above.
Fix it by turning the relevant attributes to optional.
Signed-off-by: Paolo Valerio <pvalerio@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb/transaction.c')
0 files changed, 0 insertions, 0 deletions