summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-01-20 12:02:28 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-22 01:00:45 +0100
commit38231b7a8d1b74c920822640d1ce8eb8046377fb (patch)
treefc7f1c3cc8ef34a64a740a2938934dbd598f0d93 /security
parenttun: Grab the netns in open. (diff)
downloadlinux-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