]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipv6: directly include libc-compat.h in ipv6.h
authorWillem de Bruijn <willemb@google.com>
Mon, 12 Jan 2015 19:29:34 +0000 (14:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2015 21:32:49 +0000 (16:32 -0500)
commitc66ad9ca3f4f55886829a61bd24fc5612d0c05c1
tree21bcc02b06104be95a8beefc2a89ce9677bc5476
parent721f7951223ae9b049e9840c4d2f56f0abf83075
ipv6: directly include libc-compat.h in ipv6.h

Patch 3b50d9029809 ("ipv6: fix redefinition of in6_pktinfo ...")
fixed a libc compatibility issue in ipv6 structure definitions
as described in include/uapi/linux/libc-compat.h.

It relies on including linux/in6.h to include libc-compat.h itself.
Include that file directly to clearly communicate the dependency
(libc-compat.h: "This include must be as early as possible").

Signed-off-by: Willem de Bruijn <willemb@google.com>
----

As discussed in http://patchwork.ozlabs.org/patch/427384/
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ipv6.h