From: stephen hemminger Date: Sat, 13 Jul 2013 17:18:18 +0000 (-0700) Subject: vxlan: add necessary locking on device removal X-Git-Tag: v3.11-rc2~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe5c3561e6f0ac7c9546209f01351113c1b77ec8;p=pandora-kernel.git vxlan: add necessary locking on device removal The socket management is now done in workqueue (outside of RTNL) and protected by vn->sock_lock. There were two possible bugs, first the vxlan device was removed from the VNI hash table per socket without holding lock. And there was a race when device is created and the workqueue could run after deletion. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed