No. It was a pretty crappy call. Keita came at Kaká. We assume he didn't see him, but that's debatable given incidents a few minutes earlier. Kaká, standing his ground, holds his elbow out for a player about to run into him, and the guy falls like someone gave him a shot to the head. Probably not the most civil thing to do, but is Kaká expected to bullfight or what on the pitch?
Disgraceful all around. But no player should be ejected for something so weak. It was arguably a frame job by Keita to get Kaká ejected, and the ref fell for it.