aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2009-02-22 08:11:09 +0000
committerDavid S. Miller <[email protected]>2009-02-23 03:54:50 +0000
commitce16c5337ab0d165f95c88aa857207efd7c01139 (patch)
tree23f62e2361b43ac56eabe4f9f2e1ea11013fa740 /net/ipv4/tcp_output.c
parenttcp: Like icmp use register_pernet_subsys (diff)
downloadkernel-ce16c5337ab0d165f95c88aa857207efd7c01139.tar.gz
kernel-ce16c5337ab0d165f95c88aa857207efd7c01139.zip
netns: Remove net_alive
It turns out that net_alive is unnecessary, and the original problem that led to it being added was simply that the icmp code thought it was a network device and wound up being unable to handle packets while there were still packets in the network namespace. Now that icmp and tcp have been fixed to properly register themselves this problem is no longer present and we have a stronger guarantee that packets will not arrive in a network namespace then that provided by net_alive in netif_receive_skb. So remove net_alive allowing packet reception run a little faster. Additionally document the strong reason why network namespace cleanup is safe so that if something happens again someone else will have a chance of figuring it out. Signed-off-by: Eric W. Biederman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions