Markets rebound after Credit Suisse secures massive funding deal