These findings suggest that IL-17 has a protective role in influenza by promoting virus clearance. Here, IL17A is linked to influenza.