commit | d3ca9eafc0ed97b8f56fdf23655cfece89c48354 | [log] [tgz] |
---|---|---|
author | Jesse Gross <jesse@nicira.com> | Mon Nov 03 19:38:38 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 05 15:00:51 2014 -0500 |
tree | 8ff0c570b53c3407c76e959e5f17dcc4caabe6ec | |
parent | 45cac46e51da75628ac2a593c70f5144abb9b31d [diff] |
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>