--- zzzz-none-000/linux-4.1.52/drivers/net/veth.c 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/drivers/net/veth.c 2022-03-02 11:37:13.000000000 +0000 @@ -111,6 +111,17 @@ struct net_device *rcv; int length = skb->len; +#if defined(CONFIG_BCM_KF_VETH_IPV6_DISABLE) + const struct ipv6hdr *hdr; + hdr = ipv6_hdr(skb); + + if (hdr->version == 6) + { + kfree_skb(skb); + return NETDEV_TX_OK; + } +#endif + rcu_read_lock(); rcv = rcu_dereference(priv->peer); if (unlikely(!rcv)) {