On Sun, 26 Feb 2017 10:56:16 +0100, Claudio Jeker wrote: > Attaching a PCB to a socket is currently done via PRU_ATTACH but in most > cases this does not need the network / socket lock since no packets can be > received or sent over this socket (needs a bind or connect first) > It also cleans up a few other ugly things like how the proto is passed.
This does seem cleaner but unfortunately we can't do the same with PRU_DETACH. I guess we'll just have to accept that inconsistency. - todd