Zhu Yanjun 3b5923f079 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>
2017-02-24 14:13:14 -05:00
..
2017-02-23 13:53:42 -05:00
2017-02-21 13:25:22 -05:00
2017-02-24 11:42:55 -05:00
2017-02-10 14:31:51 -05:00
2017-02-20 11:13:37 -05:00
2017-02-24 14:13:14 -05:00
2017-02-10 14:31:51 -05:00