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

David Miller davem at davemloft.net
Sat Nov 10 22:07:23 PST 2007


From: Pavel Emelyanov <xemul at openvz.org>
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 scan_inflight() before calling the callbacks.
> 
> This removes one unneeded variable from the inc_inflight_move_tail().
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied, thanks Pavel.




More information about the Devel mailing list