- Handle locking consistently with IPSEC_PCBCTL and called functions.IPSEC_PCBCTL() functions, which include tcp_ipsec_pcbctl(),
- Update documentation in comments for the pcbctl method inipsec4_pcbctl(), and ipsec6_pcbctl(), should all have matching locking
struct ipsec_methods,semantics.
ipsec4_pcbctl() and ipsec6_pcbctl() expect the inp to be unlocked on
entry and exit and appear to be correctly implemented as such. But
tcp_ipsec_pcbctl() had other semantics. which IPSEC_PCBCTL is a macro forThis patch fixes the semantics
for tcp_ipsec_pcbctl().