[NET]: Add a network namespace parameter to struct sock
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 12 Sep 2007 09:58:02 +0000 (11:58 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:05 +0000 (16:49 -0700)
commit07feaebfcc10cd35e745c7073667935246494bee
tree297f212ebca1c6916a8b82ba176ee4ee508ccb08
parent4a1c537113cdc688aabc3fb9bb6ed18ec821c779
[NET]: Add a network namespace parameter to struct sock

Sockets need to get a reference to their network namespace,
or possibly a simple hold if someone registers on the network
namespace notifier and will free the sockets when the namespace
is going to be destroyed.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_timewait_sock.h
include/net/sock.h