From: Eric W. Biederman Date: Tue, 20 Jan 2009 11:02:28 +0000 (+0000) Subject: tun: Make tun_net_xmit atomic wrt tun_attach && tun_detach X-Git-Tag: v2.6.30-rc1~662^2~918 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38231b7a8d1b74c920822640d1ce8eb8046377fb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed