From: Daniel Borkmann Date: Mon, 13 Jan 2014 17:41:20 +0000 (+0100) Subject: net: vxlan: properly cleanup devs on module unload X-Git-Tag: v3.14-rc1~94^2~175^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8425783c0f4292ca5be35097a467e1240735c257;p=pandora-kernel.git net: vxlan: properly cleanup devs on module unload We should use vxlan_dellink() handler in vxlan_exit_net(), since i) we're not in fast-path and we should be consistent in dismantle just as we would remove a device through rtnl ops, and more importantly, ii) in case future code will kfree() memory in vxlan_dellink(), we would leak it right here unnoticed. Therefore, do not only half of the cleanup work, but make it properly. Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed