diff options
author | Hoang Le <[email protected]> | 2021-04-01 09:30:48 +0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-01 15:43:31 -0700 |
commit | f20a46c3044c3f75232b3d0e2d09af9b25efaf45 (patch) | |
tree | c7ca47733393efd07765b9bebf434b064382bea0 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 247ca657e20460375bf3217073d6477440f48025 (diff) |
tipc: fix unique bearer names sanity check
When enabling a bearer by name, we don't sanity check its name with
higher slot in bearer list. This may have the effect that the name
of an already enabled bearer bypasses the check.
To fix the above issue, we just perform an extra checking with all
existing bearers.
Fixes: cb30a63384bc9 ("tipc: refactor function tipc_enable_bearer()")
Cc: [email protected]
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Hoang Le <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions