Changes since last update:
- Fix a forgotten rcu read unlock
- Fix some inconsistent integer type usage.