- Specifically during operations on the inp at the level of IPPROTO_IP and IPPROTO_IPV6.
- Consistently handle locking in tcp_ipsec_pcbctl(), as well as use rlocks for reads, and wlocks for writes.
- Lock in6p in ip6_getpcbopt().
- Improve lock handling in ipsec_control_pcbpolicy()