diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-01-20 12:02:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-22 01:00:45 +0100 |
commit | 38231b7a8d1b74c920822640d1ce8eb8046377fb (patch) | |
tree | fc7f1c3cc8ef34a64a740a2938934dbd598f0d93 /security | |
parent | tun: Grab the netns in open. (diff) | |
download | linux-38231b7a8d1b74c920822640d1ce8eb8046377fb.tar.xz linux-38231b7a8d1b74c920822640d1ce8eb8046377fb.zip |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions