[NET]: Use file->private_data to get socket pointer.
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 6 Sep 2005 21:42:45 +0000 (14:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2005 21:42:45 +0000 (14:42 -0700)
commitb69aee04fbfc027fc4ddaddc809ea8711cef9511
treec82406f856f60dd28cebfcb6da00510ebd641321
parent4706df3d3c42af802597d82c8b1542c3d52eab23
[NET]: Use file->private_data to get socket pointer.

Avoid touching file->f_dentry on sockets, since file->private_data
directly gives us the socket pointer.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c
net/socket.c