kernel/v2: fix validation on checksum types