The Chan doctrine of the Mind was handed down through Mahakasyapa and his successors in India and reached China where it was eventually transmitted to Master Hui-neng, its Sixth (Chinese) Patriarch. This was the Transmission of the Right Dharma which then flourished (all over China).