diff options
author | Denis V. Lunev <den@openvz.org> | 2007-10-10 21:14:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-10 21:14:32 -0700 |
commit | aed815601f3f95281ab3a01f7e2cbe1bd54285a0 (patch) | |
tree | 9aa4d01bcb33ca319a5d13db1bf1e5c4549d64cc /drivers/scsi/scsi_netlink.c | |
parent | 7ee015e0fa3c856416e9477aac4b850ec6f09017 (diff) | |
download | op-kernel-dev-aed815601f3f95281ab3a01f7e2cbe1bd54285a0.zip op-kernel-dev-aed815601f3f95281ab3a01f7e2cbe1bd54285a0.tar.gz |
[NET]: unify netlink kernel socket recognition
There are currently two ways to determine whether the netlink socket is a
kernel one or a user one. This patch creates a single inline call for
this purpose and unifies all the calls in the af_netlink.c
No similar calls are found outside af_netlink.c.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/scsi_netlink.c')
0 files changed, 0 insertions, 0 deletions