--- zzzz-none-000/linux-4.1.52/net/ipv6/af_inet6.c 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/net/ipv6/af_inet6.c 2022-03-02 11:37:13.000000000 +0000 @@ -97,8 +97,12 @@ return (struct ipv6_pinfo *)(((u8 *)sk) + offset); } +#if !defined(CONFIG_BCM_MPTCP) || !defined(CONFIG_BCM_KF_MPTCP) static int inet6_create(struct net *net, struct socket *sock, int protocol, int kern) +#else +int inet6_create(struct net *net, struct socket *sock, int protocol, int kern) +#endif { struct inet_sock *inet; struct ipv6_pinfo *np;