aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_diag.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-09-18 13:20:41 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:51:35 -0700
commit768f3591e2b1cc309fd6f10d6579b216026d7817 (patch)
tree0328abd6a6a306e648120ac2ef20332954e852e0 /net/ipv4/tcp_diag.c
parent[NET]: Add Tehuti network driver. (diff)
downloadlinux-dev-768f3591e2b1cc309fd6f10d6579b216026d7817.tar.xz
linux-dev-768f3591e2b1cc309fd6f10d6579b216026d7817.zip
[NETNS]: Cleanup list walking in setup_net and cleanup_net
I proposed introducing a list_for_each_entry_continue_reverse macro to be used in setup_net() when unrolling the failed ->init callback. Here is the macro and some more cleanup in the setup_net() itself to remove one variable from the stack :) The same thing is for the cleanup_net() - the existing list_for_each_entry_reverse() is used. Minor, but the code looks nicer. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_diag.c')
0 files changed, 0 insertions, 0 deletions