Searched hist:"36 b50bab53207daf34be63ca62fb8b0b08dc6e6b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | tun.c | diff 36b50bab53207daf34be63ca62fb8b0b08dc6e6b Tue Jan 20 05:01:48 CST 2009 Eric W. Biederman <ebiederm@xmission.com> tun: Grab the netns in open.
Grabbing namespaces in open, and putting them in close always seems to be the cleanest approach with the fewest surprises.
So now that we have tun_file so we have somepleace to put the network namespace, let's grab the network namespace on file open and put on file close.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|