From: David S. Miller Date: Thu, 21 Apr 2016 18:22:14 +0000 (-0400) Subject: Merge branch 'nlattr_align' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c57107c7f59fe438f8c5bb0ce50af857505276b8;p=linux-beck.git Merge branch 'nlattr_align' Nicolas Dichtel says: ==================== libnl: enhance API to ease 64bit alignment for attribute Here is a proposal to add more helpers in the libnetlink to manage 64-bit alignment issues. Note that this series was only tested on x86 by tweeking CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS and adding some traces. The first patch adds helpers for 64bit alignment and other patches use them. We could also add helpers for nla_put_u64() and its variants if needed. v1 -> v2: - remove patch #1 - split patch #2 (now #1 and #2) - add nla_need_padding_for_64bit() ==================== Signed-off-by: David S. Miller --- c57107c7f59fe438f8c5bb0ce50af857505276b8