diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2020-11-24 07:34:44 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-27 11:03:06 -0800 |
commit | 69929d4c49e182f8526d42c43b37b460d562d3a0 (patch) | |
tree | 8ccdf7331d74889ac016c349a9dcfe292f04cbde /net/ipv4/cipso_ipv4.c | |
parent | cbf3d60329c4e11edcecac0c8fc6767b0f05e3a7 (diff) | |
download | linux-69929d4c49e182f8526d42c43b37b460d562d3a0.tar.gz linux-69929d4c49e182f8526d42c43b37b460d562d3a0.tar.bz2 linux-69929d4c49e182f8526d42c43b37b460d562d3a0.zip |
net: openvswitch: fix TTL decrement action netlink message format
Currently, the openvswitch module is not accepting the correctly formated
netlink message for the TTL decrement action. For both setting and getting
the dec_ttl action, the actions should be nested in the
OVS_DEC_TTL_ATTR_ACTION attribute as mentioned in the openvswitch.h uapi.
When the original patch was sent, it was tested with a private OVS userspace
implementation. This implementation was unfortunately not upstreamed and
reviewed, hence an erroneous version of this patch was sent out.
Leaving the patch as-is would cause problems as the kernel module could
interpret additional attributes as actions and vice-versa, due to the
actions not being encapsulated/nested within the actual attribute, but
being concatinated after it.
Fixes: 744676e77720 ("openvswitch: add TTL decrement action")
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Link: https://lore.kernel.org/r/160622121495.27296.888010441924340582.stgit@wsfd-netdev64.ntdv.lab.eng.bos.redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
0 files changed, 0 insertions, 0 deletions