Neutralizing IL-17A or IL-17F has no overt effects on lung inflammation in response to M. tuberculosis infection, whereas blocking TNFα causes necrotic pneumonia. Here, TNF is linked to pneumonia.