The inflammatory cells which are recruited to the gastric mucosa during infection produce several pro- and anti-inflammatory cytokines including several cytokines in the interleukin-17 family. Here, IL17A is linked to infection.