I really couldn't imagine that Yahoo would be liable for copyright infringement on user submitted content. Assuming they have a process for Porn Companies to submit DMCA Takedown notices, it seems Yahoo and Tumblr would be protected from being sued for infringement by the DMCA Safe-Harbor Provision[1].