summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorHerbert Pƶtzl <herbert@13thfloor.at>2005-03-09 04:43:08 -0800
committerDavid S. Miller <davem@northbeach.davemloft.net.davemloft.net>2005-03-09 04:43:08 -0800
commit1cc6b1043b153dbff4458f7ec6ef5f712ea353d2 (patch)
treed411ed982a0d18e41613f01d11a75baf45743e75 /net/socket.c
parent6fab4b4501dd8ca0165f6594b0df9ca4618eac10 (diff)
[NET]: Passcred cleanup in struct sock
struct socket uses a 'bool' (unsigned char) to 'flag' the pass-credential option for sockets (which can be easily replaced by a flag) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 7bc2e0811583..97ef5088646a 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -287,7 +287,7 @@ static struct inode *sock_alloc_inode(struct super_block *sb)
ei->socket.ops = NULL;
ei->socket.sk = NULL;
ei->socket.file = NULL;
- ei->socket.passcred = 0;
+ ei->socket.flags = 0;
return &ei->vfs_inode;
}