]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[AF_UNIX]: Convert socks to unix_socks in scan_inflight, not in callbacks
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 06:07:13 +0000 (22:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 06:07:13 +0000 (22:07 -0800)
commit5c80f1ae9842a8b7985acd0f02efb9828effb05f
treee8a41006d8df869782c9d8c0e686df4a30025ed8
parent9305cfa4443dbfb99faf35c5603ec0c0e91b5ef8
[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>
net/unix/garbage.c