summaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-01-13 18:41:20 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-15 08:38:39 +0100
commit8425783c0f4292ca5be35097a467e1240735c257 (patch)
tree601cab1761c36f24798e4b168595534f5feacb5d /scripts/asn1_compiler.c
parentnet: vxlan: when lower dev unregisters remove vxlan dev as well (diff)
downloadlinux-8425783c0f4292ca5be35097a467e1240735c257.tar.xz
linux-8425783c0f4292ca5be35097a467e1240735c257.zip
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 <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions