commit | 38231b7a8d1b74c920822640d1ce8eb8046377fb | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Tue Jan 20 11:02:28 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 21 16:00:45 2009 -0800 |
tree | fc7f1c3cc8ef34a64a740a2938934dbd598f0d93 | |
parent | 36b50bab53207daf34be63ca62fb8b0b08dc6e6b [diff] |
tun: Make tun_net_xmit atomic wrt tun_attach && tun_detach Currently this small race allows for a packet to be received when we detach from an tun device and still be enqueued. Not especially important but not what the code is trying to do. Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>