diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-08-24 13:32:19 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:28 +0200 |
commit | 720ef97e3c7fa7c7fa2333fb1d1503bc2920a3ef (patch) | |
tree | 236451ae8930db5ae6d704ba07f8441886f43325 /net/ipv6/icmp.c | |
parent | 302257df964f8f08dc6f3a3e4f819d55fff7a571 (diff) |
tipc: fix the error handling in tipc_udp_enable()
commit a5de125dd46c851fc962806135953c1bd0a0f0df upstream.
Fix to return a negative error code in enable_mcast() error handling
case, and release udp socket when necessary.
Fixes: d0f91938bede ("tipc: add ip/udp media type")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/icmp.c')
0 files changed, 0 insertions, 0 deletions