commit | b922934d017f1cc831b017913ed7d1a56c558b43 | [log] [tgz] |
---|---|---|
author | Julian Anastasov <ja@ssi.bg> | Mon Apr 16 04:43:15 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 18 00:05:33 2012 -0400 |
tree | 6d0d08fc459a3eb2d36bccea023059ef76b90dfe | |
parent | 9fe5642f4a3b13beb43c2633db7df22dd9d99250 [diff] |
netns: do not leak net_generic data on failed init ops_init should free the net_generic data on init failure and __register_pernet_operations should not call ops_free when NET_NS is not enabled. Signed-off-by: Julian Anastasov <ja@ssi.bg> Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>