David S. Miller bf3c23d171 [NET]: Fix error reporting in sys_socketpair().
If either of the two sock_alloc_fd() calls fail, we
forget to update 'err' and thus we'll erroneously
return zero in these cases.

Based upon a report and patch from Rich Paul, and
commentary from Chuck Ebbert.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-29 22:37:34 -07:00
..
2007-10-10 16:54:48 -07:00
2007-10-26 03:56:43 -07:00
2007-10-26 02:47:54 -07:00
2007-10-29 07:41:32 -07:00
2007-07-16 09:05:45 -07:00