--- zzzz-none-000/linux-4.1.52/include/linux/ipv6.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/ipv6.h 2022-03-02 11:37:13.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;