tcp: Like icmp use register_pernet_subsys
authorEric W. Biederman <ebiederm@aristanetworks.com>
Sun, 22 Feb 2009 08:10:18 +0000 (00:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 09:14:21 +0000 (01:14 -0800)
commit2f20d2e667ab1ca44cde5fb361386dff5bb6081d
tree5041eaca4e87d1203c631c6cb482d3b8fc7defb9
parent6eb0777228f31932fc941eafe8b08848466630a1
tcp: Like icmp use register_pernet_subsys

To remove the possibility of packets flying around when network
devices are being cleaned up use reisger_pernet_subsys instead of
register_pernet_device.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Acked-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c