Files
linux-stable-mirror/include/uapi/linux
Ossama Othman 06e445f740 mptcp: fix conflict with <netinet/in.h>
Including <linux/mptcp.h> before the C library <netinet/in.h> header
causes symbol redefinition errors at compile-time due to duplicate
declarations and definitions in the <linux/in.h> header included by
<linux/mptcp.h>.

Explicitly include <netinet/in.h> before <linux/in.h> in
<linux/mptcp.h> when __KERNEL__ is not defined so that the C library
compatibility logic in <linux/libc-compat.h> is enabled when including
<linux/mptcp.h> in user space code.

Fixes: c11c5906bc ("mptcp: add MPTCP_SUBFLOW_ADDRS getsockopt support")
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-06-28 20:45:43 -07:00
..
2022-02-21 19:33:05 +00:00
2022-04-19 13:13:47 +01:00
2022-06-03 20:09:27 +08:00
2022-05-23 14:31:28 -07:00
2022-06-03 20:09:27 +08:00
2022-04-04 08:55:23 +02:00
2022-03-11 08:28:05 -08:00
2022-03-01 18:29:27 -08:00
2022-06-03 20:09:27 +08:00
2022-05-04 22:50:01 +02:00
2022-05-31 12:44:29 -04:00