On 4/19/16, 4:50 PM, David Miller wrote: > From: Nicolas Dichtel <nicolas.dich...@6wind.com> > Date: Tue, 19 Apr 2016 21:08:21 +0200 > >> Le 19/04/2016 20:47, Eric Dumazet a écrit : >>> Since we want to use this in other places, we could define a helper. >>> >>> nla_align_64bit(skb, attribute) or something. >> Yes, with the corresponding nla_total_size_64bit() > Good, idea, committed the following: > > Roopa, please use these helpers in your RTM_GETSTATS patch.
will do. > > Thank you. > > ==================== > [PATCH] net: Add helpers for 64-bit aligning netlink attributes. > > Suggested-by: Eric Dumazet <eric.duma...@gmail.com> > Suggested-by: Nicolas Dichtel <nicolas.dich...@6wind.com> > Signed-off-by: David S. Miller <da...@davemloft.net> > --- > these look really nice. Thanks!