On Fri, 2017-12-01 at 00:23 +0000, Al Viro wrote: > This changes calling conventions (and simplifies the hell out > the callers). New rules: once struct socket had been passed > to sock_alloc_file(), it's been consumed either by struct file > or by sock_release() done by sock_alloc_file(). Either way > the caller should not do sock_release() after that point. > > Signed-off-by: Al Viro <v...@zeniv.linux.org.uk> > ---
Nice cleanup ! Reviewed-by: Eric Dumazet <eduma...@google.com>