Re: [PATCH 2/3][UNIX] Convert socks to unix_socks in scan_inflight, not in callbacks

2007-11-10 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Wed, 07 Nov 2007 16:56:21 +0300 > 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

[PATCH 2/3][UNIX] Convert socks to unix_socks in scan_inflight, not in callbacks

2007-11-07 Thread Pavel Emelyanov
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 t