aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2007-11-11 06:07:13 +0000
committerDavid S. Miller <[email protected]>2007-11-11 06:07:13 +0000
commit5c80f1ae9842a8b7985acd0f02efb9828effb05f (patch)
treee8a41006d8df869782c9d8c0e686df4a30025ed8 /net/unix/af_unix.c
parent[AF_UNIX]: Make unix_tot_inflight counter non-atomic (diff)
downloadkernel-5c80f1ae9842a8b7985acd0f02efb9828effb05f.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions