coreos / torus

Torus Distributed Storage
https://coreos.com/blog/torus-distributed-storage-by-coreos.html
Apache License 2.0
1.78k stars 172 forks source link

nbd: fix Socketpair call #334

Closed kopiczko closed 7 years ago

kopiczko commented 7 years ago

Domain and type were swapped. By accident they both have value 0x1 so the call still worked. See http://man7.org/linux/man-pages/man2/socket.2.html