]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix HAVE_EFFICIENT_UNALIGNED_ACCESS typos
authorEric Dumazet <edumazet@google.com>
Wed, 20 Apr 2016 14:31:31 +0000 (07:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2016 14:53:22 +0000 (10:53 -0400)
commitf650120523c49c9e27e0c753f206323343edb590
treeb90c1cc043aca75be750e0a6dd2b95bdb3046835
parent456a8f083b5af4e032e67625dd306e6d880568fb
net: fix HAVE_EFFICIENT_UNALIGNED_ACCESS typos

HAVE_EFFICIENT_UNALIGNED_ACCESS needs CONFIG_ prefix.

Also add a comment in nla_align_64bit() explaining we have
to add a padding if current skb->data is aligned, as it
certainly can be confusing.

Fixes: e648c632521e ("net: Add helpers for 64-bit aligning netlink attributes.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h