--- zzzz-none-000/linux-4.1.38/include/linux/ipv6.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/ipv6.h 2020-11-25 10:06:48.000000000 +0000 @@ -310,12 +310,14 @@ return NULL; } +#if !defined(CONFIG_BCM_MPTCP) || !defined(CONFIG_BCM_KF_MPTCP) static inline struct inet6_request_sock * inet6_rsk(const struct request_sock *rsk) { return NULL; } +#endif static inline struct raw6_sock *raw6_sk(const struct sock *sk) { return NULL;