]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
geneve: Unregister pernet subsys on module unload.
authorJesse Gross <jesse@nicira.com>
Tue, 4 Nov 2014 03:38:38 +0000 (19:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 20:00:51 +0000 (15:00 -0500)
commitd3ca9eafc0ed97b8f56fdf23655cfece89c48354
tree8ff0c570b53c3407c76e959e5f17dcc4caabe6ec
parent45cac46e51da75628ac2a593c70f5144abb9b31d
geneve: Unregister pernet subsys on module unload.

The pernet ops aren't ever unregistered, which causes a memory
leak and an OOPs if the module is ever reinserted.

Fixes: 0b5e8b8eeae4 ("net: Add Geneve tunneling protocol driver")
CC: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/geneve.c