diff options
| author | 2007-11-10 22:07:13 -0800 | |
|---|---|---|
| committer | 2007-11-10 22:07:13 -0800 | |
| commit | 5c80f1ae9842a8b7985acd0f02efb9828effb05f (patch) | |
| tree | e8a41006d8df869782c9d8c0e686df4a30025ed8 /net/core/dev.c | |
| parent | [AF_UNIX]: Make unix_tot_inflight counter non-atomic (diff) | |
| download | wireguard-linux-5c80f1ae9842a8b7985acd0f02efb9828effb05f.tar.xz wireguard-linux-5c80f1ae9842a8b7985acd0f02efb9828effb05f.zip | |
[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/core/dev.c')
0 files changed, 0 insertions, 0 deletions
