]> err.no Git - linux-2.6/commit
[AF_UNIX]: Make unix_tot_inflight counter non-atomic
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 06:06:01 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 06:06:01 +0000 (22:06 -0800)
commit9305cfa4443dbfb99faf35c5603ec0c0e91b5ef8
tree957551b7016caedcb6f85ec733e6a14d6707096f
parent8032b46489e50ef8f3992159abd0349b5b8e476c
[AF_UNIX]: Make unix_tot_inflight counter non-atomic

This counter is _always_ modified under the unix_gc_lock spinlock,
so its atomicity can be provided w/o additional efforts.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_unix.h
net/unix/af_unix.c
net/unix/garbage.c