aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-11-10 22:07:13 -0800
committerDavid S. Miller <davem@davemloft.net>2007-11-10 22:07:13 -0800
commit5c80f1ae9842a8b7985acd0f02efb9828effb05f (patch)
treee8a41006d8df869782c9d8c0e686df4a30025ed8 /net/unix/af_unix.c
parent9305cfa4443dbfb99faf35c5603ec0c0e91b5ef8 (diff)
[AF_UNIX]: Convert socks to unix_socks in scan_inflight, not in callbacks
The scan_inflight() routine scans through the unix sockets and calls some passed callback. The fact is that all these callbacks work with the unix_sock objects, not the sock ones, so make this conversion in the scan_inflight() before calling the callbacks. This removes one unneeded variable from the inc_inflight_move_tail(). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions