patch-2.1.127 linux/include/net/scm.h

Next file: linux/include/net/sock.h
Previous file: linux/include/linux/tty.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/include/net/scm.h linux/include/net/scm.h
@@ -17,8 +17,6 @@
 	struct ucred		creds;		/* Skb credentials	*/
 	struct scm_fp_list	*fp;		/* Passed files		*/
 	unsigned long		seq;		/* Connection seqno	*/
-	struct file 		*file;		/* file for socket	*/
-	struct socket 		*sock;		/* Passed socket	*/
 };
 
 extern void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
@@ -39,7 +37,6 @@
 	scm->creds.uid = current->uid;
 	scm->creds.gid = current->gid;
 	scm->creds.pid = current->pid;
-	scm->sock      = sock;
 	if (msg->msg_controllen <= 0)
 		return 0;
 	return __scm_send(sock, msg, scm);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov