diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2018-05-09 02:59:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-10 15:25:45 -0400 |
commit | 5f30721c517a9c8512da3bc8d909ff5e810c2b44 (patch) | |
tree | 407a08b3bbd39d030ddd5830d99adccbdf596cb6 /net/dsa | |
parent | f663706a33ce32df69a2b3e85a80cb5a690f2234 (diff) | |
download | linux-5f30721c517a9c8512da3bc8d909ff5e810c2b44.tar.bz2 |
tipc: clean up removal of binding table items
In commit be47e41d77fb ("tipc: fix use-after-free in tipc_nametbl_stop")
we fixed a problem caused by premature release of service range items.
That fix is correct, and solved the problem. However, it doesn't address
the root of the problem, which is that we don't lookup the tipc_service
-> service_range -> publication items in the correct hierarchical
order.
In this commit we try to make this right, and as a side effect obtain
some code simplification.
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions