From: Al Viro <[email protected]>
Date: Tue, 5 Dec 2017 23:27:57 +0000

> 1) it's fput() or sock_release(), not both
> 2) don't do fd_install() until the last failure exit.
> 3) not a bug per se, but... don't attach socket to struct file
>    until it's set up.
> 
> Take reserving descriptor into the caller, move fd_install() to the
> caller, sanitize failure exits and calling conventions.
> 
> Cc: [email protected] # v4.6+
> Acked-by: Tom Herbert <[email protected]>
> Signed-off-by: Al Viro <[email protected]>

Applied.

Reply via email to