Re: [PATCH] NET : cleanup sock_from_file()

2007-02-08 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 07 Feb 2007 00:03:25 +0100 > I believe dead code from sock_from_file() can be cleaned up. > > All sockets are now built using sock_attach_fd(), that puts the 'sock' > pointer > into file->private_data and &socket_file_ops into file->f_op > > I

[PATCH] NET : cleanup sock_from_file()

2007-02-06 Thread Eric Dumazet
I believe dead code from sock_from_file() can be cleaned up. All sockets are now built using sock_attach_fd(), that puts the 'sock' pointer into file->private_data and &socket_file_ops into file->f_op I could not find a place where file->private_data could be set to NULL, keeping opened the f