mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
selftests: openvswitch: adjust datapath NL message declaration
[ Upstream commit306dc21361
] The netlink message for creating a new datapath takes an array of ports for the PID creation. This shouldn't cause much issue but correct it for future cases where we need to do decode of datapath information that could include the per-cpu PID map. Fixes:25f16c873f
("selftests: add openvswitch selftest suite") Signed-off-by: Aaron Conole <aconole@redhat.com> Link: https://lore.kernel.org/r/20230412115828.3991806-1-aconole@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
370280c65c
commit
6985701e62
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class OvsDatapath(GenericNetlinkSocket):
|
|||
nla_map = (
|
||||
("OVS_DP_ATTR_UNSPEC", "none"),
|
||||
("OVS_DP_ATTR_NAME", "asciiz"),
|
||||
("OVS_DP_ATTR_UPCALL_PID", "uint32"),
|
||||
("OVS_DP_ATTR_UPCALL_PID", "array(uint32)"),
|
||||
("OVS_DP_ATTR_STATS", "dpstats"),
|
||||
("OVS_DP_ATTR_MEGAFLOW_STATS", "megaflowstats"),
|
||||
("OVS_DP_ATTR_USER_FEATURES", "uint32"),
|
||||
|
|
Loading…
Reference in a new issue