diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-04-16 04:43:15 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-18 04:05:33 (GMT) |
commit | b922934d017f1cc831b017913ed7d1a56c558b43 (patch) | |
tree | 6d0d08fc459a3eb2d36bccea023059ef76b90dfe /include/net/x25.h | |
parent | 9fe5642f4a3b13beb43c2633db7df22dd9d99250 (diff) | |
download | linux-b922934d017f1cc831b017913ed7d1a56c558b43.tar.xz |
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>
Diffstat (limited to 'include/net/x25.h')
0 files changed, 0 insertions, 0 deletions