commit | 3b5923f0796b13e731802d40faf62d2c59d98e48 | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@oracle.com> | Fri Feb 24 04:28:01 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 24 14:13:14 2017 -0500 |
tree | ecf819039abb0ac6715ae135ca1f838ed0a0b5b3 | |
parent | 1158632b5a2dcce0786c1b1b99654e81cc867981 [diff] |
rds: fix memory leak error When the function register_netdevice_notifier fails, the memory allocated by kmem_cache_create should be freed by the function kmem_cache_destroy. Cc: Joe Jin <joe.jin@oracle.com> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>