summaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-27 23:29:21 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-08 04:52:09 +0200
commit72c849884e71ffc6732aecdaf889d22a4a464f28 (patch)
tree71f709d9665cfb0127961f2f0db46b6da3c8a77c /net/unix/sysctl_net_unix.c
parentaf51c84e19753ec0c9de368816a30bcc4fb90c24 (diff)
downloadkernel-crypto-72c849884e71ffc6732aecdaf889d22a4a464f28.tar.gz
kernel-crypto-72c849884e71ffc6732aecdaf889d22a4a464f28.tar.xz
kernel-crypto-72c849884e71ffc6732aecdaf889d22a4a464f28.zip
Use ncr_lists instead of list_sem_st in intefaces
Should result in no functionality change. This makes the code marginally more effective (reducing the number of "&lst->key" and "&lst->sessions" operations in the code, and moving them toward dereferences where they can be combined with member accesses), and more type-safe (prevents mixing the key and session list in most places because they the difference is only in the low-level accessor functions). Most importantly, this allows replacing list_sem_st without having to touch most of the functions again.
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions