HomeFreeBSD

When a tunneling protocol is being used with UDP we must release the

Description

When a tunneling protocol is being used with UDP we must release the
lock on the INP before calling the tunnel protocol, else a LOR
may occur (it does with SCTP for sure). Instead we must acquire a
ref count and release the lock, taking care to allow for the case
where the UDP socket has gone away and *not* unlocking since the
refcnt decrement on the inp will do the unlock in that case.

Reviewed by: tuexen
MFC after: 3 weeks

Details

Provenance
rrsAuthored on
Parents
rS285739: Add missing priority argument in example code in BUGS section.
Branches
Unknown
Tags
Unknown