diff options
| author | Wei Yongjun <[email protected]> | 2018-03-26 14:32:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-27 14:50:02 +0000 |
| commit | c76f2481b60a62814f4cb1678e48efa3385895aa (patch) | |
| tree | 8afac22694ad35d0facca4992e7f10db51484031 /net/tipc/node.c | |
| parent | net: aquantia: Make function hw_atl_utils_mpi_set_speed() static (diff) | |
| download | kernel-c76f2481b60a62814f4cb1678e48efa3385895aa.tar.gz kernel-c76f2481b60a62814f4cb1678e48efa3385895aa.zip | |
tipc: fix error handling in tipc_udp_enable()
Release alloced resource before return from the error handling
case in tipc_udp_enable(), otherwise will cause memory leak.
Fixes: 52dfae5c85a4 ("tipc: obtain node identity from interface by default")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
