Skip to content

Commit

Permalink
net: openvswitch: add missing .resv_start_op
Browse files Browse the repository at this point in the history
I missed one of the families in OvS when annotating .resv_start_op.
This triggers the warning added in commit ce48ebd ("genetlink:
limit the use of validation workarounds to old ops").

Reported-by: [email protected]
Fixes: 9c5d03d ("genetlink: start to validate reserved header bytes")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Oct 29, 2022
1 parent 7354c90 commit e4ba455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/openvswitch/datapath.c
Original file line number Diff line number Diff line change
Expand Up @@ -2544,6 +2544,7 @@ struct genl_family dp_vport_genl_family __ro_after_init = {
.parallel_ops = true,
.small_ops = dp_vport_genl_ops,
.n_small_ops = ARRAY_SIZE(dp_vport_genl_ops),
.resv_start_op = OVS_VPORT_CMD_SET + 1,
.mcgrps = &ovs_dp_vport_multicast_group,
.n_mcgrps = 1,
.module = THIS_MODULE,
Expand Down

0 comments on commit e4ba455

Please sign in to comment.