diff options
author | Paul Moore <paul.moore@hp.com> | 2007-06-07 18:37:15 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-08 13:33:09 -0700 |
commit | ba6ff9f2b5c6018b293bd21083ffaa5ad710e671 (patch) | |
tree | 7a868d3a1948ab9e1aaf7b6e64e114e0f790370d /net/mac80211/ieee80211_ioctl.c | |
parent | 6363097cc4d182f93788131b5d8f72aa91d950a0 (diff) | |
download | kernel-crypto-ba6ff9f2b5c6018b293bd21083ffaa5ad710e671.tar.gz kernel-crypto-ba6ff9f2b5c6018b293bd21083ffaa5ad710e671.tar.xz kernel-crypto-ba6ff9f2b5c6018b293bd21083ffaa5ad710e671.zip |
[NetLabel]: consolidate the struct socket/sock handling to just struct sock
The current NetLabel code has some redundant APIs which allow both
"struct socket" and "struct sock" types to be used; this may have made
sense at some point but it is wasteful now. Remove the functions that
operate on sockets and convert the callers. Not only does this make
the code smaller and more consistent but it pushes the locking burden
up to the caller which can be more intelligent about the locks. Also,
perform the same conversion (socket to sock) on the SELinux/NetLabel
glue code where it make sense.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_ioctl.c')
0 files changed, 0 insertions, 0 deletions