From: [email protected] Date: Thu, 14 Nov 2019 23:51:08 +0800 > From: Tonghao Zhang <[email protected]> > > The nla_put_u16/nla_put_u32 makes sure that > *attrlen is align. The call tree is that: > > nla_put_u16/nla_put_u32 > -> nla_put attrlen = sizeof(u16) or sizeof(u32) > -> __nla_put attrlen > -> __nla_reserve attrlen > -> skb_put(skb, nla_total_size(attrlen)) > > nla_total_size returns the total length of attribute > including padding. > > Cc: Joe Stringer <[email protected]> > Cc: William Tu <[email protected]> > Signed-off-by: Tonghao Zhang <[email protected]>
Applied, thanks. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
