• Marek Vavruša's avatar
    lib/cache: more granular control for rank check on insertion · a2b9d06d
    Marek Vavruša authored
    for pktcache same or better rank is required (because it’s a direct answer)
    for rrcache better rank is required (unless doing write-through)
    
    for both cases, no cache rank check is needed when inserting secure data
    
    security note: this mitigates possible non-auth NS hijacking
    a2b9d06d
cache.c 11.3 KB