[PATCH 5.16 115/227] ping: fix the dif and sdif check in ping_lookup