Nat. Immunol.; doi:10.1038/ni.3713; corrected online 5 April 2017

In the version of this article initially published online, the callout for Figure 4g was incorrectly attributed, and Figure 5d was displayed incorrectly. The errors have been corrected in the print, PDF and HTML versions of the article.