Fix SEGV by setting msg_controllen earlier.
authorPeter Griess <pg@std.in>
Tue, 4 May 2010 16:26:23 +0000 (11:26 -0500)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 4 May 2010 17:32:01 +0000 (10:32 -0700)
commitd9882395e2ceb0274e15a3ba80df900d1e527c0d
tree6d308259fc006b8ee48d15e9c8be3cf24d405b57
parent1a317135c5d65fe519ad8fa335342272ea53ddbc
Fix SEGV by setting msg_controllen earlier.

- Some implementations of CMSG_FIRSTHDR() rely on msg_controllen being
  set correctly, else it returns NULL: see <linux/socket.h>.
src/node_net2.cc