diff options
author | Bjorn Andersson <[email protected]> | 2021-06-25 16:49:03 -0700 |
---|---|---|
committer | Georgi Djakov <[email protected]> | 2021-07-22 10:06:51 +0300 |
commit | 9cc969675dea496b6689f576ddd4d8fd172705c5 (patch) | |
tree | 481c6571896cc90eb43809bec18ad667d12937da /net/lapb/lapb_timer.c | |
parent | 789a39ad39bc7ff24fe16f80326a6e38f047f10b (diff) |
interconnect: Sanity check that node isn't already on list
Broken interconnect providers might add the same node multiple times or
in multiple providers, which causes strange errors as the provider's
node list is later traversed.
Detect that a node already has an associated provider, complain and
reject the addition of the node, to aid the developer.
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions