Fix ocache to always try write/read back a full/empty local cache. This was causing it to never cache packets if running without a limited allocation number (i.e. malloc and free were always being used).