2017-01-20 15:42 GMT+08:00 Feng Gao <gfree.wind@xxxxxxxxx>: [...] > In v2 patch, I copied your recommend codes "if (cnt && --cnt == 0)". > Today I think it is not right to use "--cnt", it should use "cnt--". > Because when the cnt is 1, the "--cnt" would break directly. > So I send the v3 patch. But this "if (cnt && cnt-- == 0) break;" check condition seems still incorrect, when the cnt is 1, next round cnt will become 0, so we will fail to break the loop ... -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html