Compared with the mastitis challenged cells, enhanced expressions of antioxidant genes HO-1, Txnrd-1, and GCLM were observed in CP-treated cells. Here, CP is linked to mastitis.