Question: what does it mean when he brings up his ex?
Answer: Just because he brings her up doesn't mean he doesn't care for you or that he doesn't want to be with you. Actually it shows that he is comfortable enough to open up to you and express how he truly feels. What you need to do is just listen to him. Listen to what exactly he has to say about her.