netlink: add a version of Conn.Receive that doesn't allocate its own buffers
mdlayher opened this issue · comments
Matt Layher commented
This could speed things up significantly for big payloads, and then we can also get rid of the peek/loop/allocate logic and rely on the caller to provide a big enough buffer to read out all the available messages.