diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2016-07-03 08:54:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-04 23:09:49 (GMT) |
commit | 3dad5424adfb346c871847d467f97dcdca64ea97 (patch) | |
tree | fc7413d94100ca238343f21a327a7a80cd3bb364 /net/nfc | |
parent | d5d5e8d55732c7c35c354e45e3b0af2795978a57 (diff) | |
download | linux-3dad5424adfb346c871847d467f97dcdca64ea97.tar.xz |
RDS: fix rds_tcp_init() error path
If register_pernet_subsys() fails, we shouldn't try to call
unregister_pernet_subsys().
Fixes: 467fa15356 ("RDS-TCP: Support multiple RDS-TCP listen endpoints, one per netns.")
Cc: stable@vger.kernel.org
Cc: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions