diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-11-10 22:07:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-10 22:07:13 -0800 |
commit | 5c80f1ae9842a8b7985acd0f02efb9828effb05f (patch) | |
tree | e8a41006d8df869782c9d8c0e686df4a30025ed8 /net/unix/af_unix.c | |
parent | 9305cfa4443dbfb99faf35c5603ec0c0e91b5ef8 (diff) | |
download | op-kernel-dev-5c80f1ae9842a8b7985acd0f02efb9828effb05f.zip op-kernel-dev-5c80f1ae9842a8b7985acd0f02efb9828effb05f.tar.gz |
[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