- The current
ULONGis too small - We should switch to using
METHOD_NEITHER - One param is a pointer to a ULONG64 length, the other the actual buffer
- Most commonly used members should be at the top
- Members used together should be next to each other
- Holes should be minimized
- Don't stretch cachelines
- Figure out
__rcubest practice with SAL - For the MuAcquireReleaseSharedExclusive functions, make SAL detect lock imbalance. e.g. a AcquireExclusive followed by a ReleaseShared.
When forwarding or weakhostsend are enabled -- which can happen via Hotspot
mode -- the routing logic ignores IP_PKTINFO. This seems like a bug, but one
unlikely to be fixed. We'll need a opt-in setsockopt to make IP_PKTINFO
choose the right behavior in this case.
Currently we tag on an empty options cmsg to work around a bug in recent
Windows builds, where IP_PKTINFO gets stripped if it's passed alone.