commit c58cc9a460fd158e5250e59902e96ac677dc115f (datapath: Allow user space to announce ability to accept unaligned Netlink messages) introduced OVS_DP_ATTR_USER_FEATURES netlink attribute in datapath responses, but the attribute size was not taken into account in ovs_dp_cmd_msg_size().
Signed-off-by: Daniele Di Proietto <[email protected]> --- datapath/datapath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/datapath/datapath.c b/datapath/datapath.c index c756e2f..dca62b8 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -1089,6 +1089,7 @@ static size_t ovs_dp_cmd_msg_size(void) msgsize += nla_total_size(IFNAMSIZ); msgsize += nla_total_size(sizeof(struct ovs_dp_stats)); msgsize += nla_total_size(sizeof(struct ovs_dp_megaflow_stats)); + msgsize += nla_total_size(sizeof(u32)); return msgsize; } -- 1.8.0 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
