Skip to content
Commit 5c80f1ae authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller
Browse files

[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: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9305cfa4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment