Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opcreds] Fix LEAVE event on RemoveFabric #18434

Merged
merged 2 commits into from
May 17, 2022

Conversation

Damian-Nordic
Copy link
Contributor

Problem

LEAVE event is not emitted on RemoveFabric or factory reset.
There are two reasons for that:

  • Removing a fabric causes closing all active ReadHandlers
    for a given fabric, so we must flush the event log before
    that happens.
  • There are two listeners for removing a fabric; the one
    that removes ACLs for a given fabric index is executed
    prior to the other one that generates LEAVE event. That
    causes "Acccess control: denied" error.

Change overview

Fix both issues.

Testing

Verified using nRF Connect examples that LEAVE event is delivered successfully.

@github-actions
Copy link

github-actions bot commented May 13, 2022

PR #18434: Size comparison from 1f1986b to 5e5b29f

Increases (24 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, nrfconnect, p6, telink)
platform target config section 1f1986b 5e5b29f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 691363 691371 8 0.0
.text 588264 588272 8 0.0
lock-ftd LP_CC2652R7 (read only) 678739 678755 16 0.0
.text 583916 583932 16 0.0
lock-mtd LP_CC2652R7 (read only) 627563 627571 8 0.0
.text 532852 532860 8 0.0
pump-app LP_CC2652R7 (read only) 663303 663335 32 0.0
.text 582296 582328 32 0.0
pump-controller-app LP_CC2652R7 (read only) 656495 656511 16 0.0
.text 572400 572416 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 628454 628470 16 0.0
.app_xip_area 531012 531028 16 0.0
lock cyw930739m2evb_01 (read/write) 627366 627390 24 0.0
.app_xip_area 531380 531404 24 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 576154 576186 32 0.0
.app_xip_area 470452 470484 32 0.0
esp32 all-clusters-app c3devkit (read only) 999828 999854 26 0.0
.flash.text 999828 999854 26 0.0
m5stack (read only) 1053755 1053771 16 0.0
.flash.text 1048371 1048387 16 0.0
k32w light k32w061+release (read/write) 686376 686392 16 0.0
.text 601384 601400 16 0.0
lock k32w061+release (read/write) 731720 731736 16 0.0
.text 646336 646352 16 0.0
linux all-clusters-app debug .text 2330322 2330354 32 0.0
bridge-app debug+rpc .text 1612338 1612370 32 0.0
lighting-app debug+rpc .text 1977938 1977970 32 0.0
lock-app debug .text 1881954 1881986 32 0.0
ota-provider-app debug .text 1732466 1732498 32 0.0
ota-requestor-app debug .text 1764770 1764802 32 0.0
shell debug .text 2186946 2186978 32 0.0
thermostat-no-ble arm64 (read only) 2370244 2370260 16 0.0
.text 1993376 1993392 16 0.0
tv-app debug .text 2453618 2453650 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180271 1180287 16 0.0
text 809956 809972 16 0.0
p6 all-clusters-app default (read/write) 2531960 2531976 16 0.0
.text 1490224 1490240 16 0.0
telink lighting-app tlsr9518adk80d (read/write) 806528 806552 24 0.0
text 572768 572790 22 0.0
Decreases (12 builds for cc13x2_26x2, linux)
platform target config section 1f1986b 5e5b29f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 160988 160980 -8 -0.0
lock-ftd LP_CC2652R7 (read/write) 164700 164684 -16 -0.0
pump-app LP_CC2652R7 (read/write) 181424 181392 -32 -0.0
pump-controller-app LP_CC2652R7 (read/write) 188032 188016 -16 -0.0
linux all-clusters-app debug (read only) 2742809 2742745 -64 -0.0
.rodata 236613 236517 -96 -0.0
bridge-app debug+rpc (read only) 1897449 1897385 -64 -0.0
.rodata 161753 161657 -96 -0.1
lighting-app debug+rpc (read only) 2331065 2331033 -32 -0.0
.rodata 185913 185849 -64 -0.0
lock-app debug (read only) 2238537 2238473 -64 -0.0
.rodata 195689 195593 -96 -0.0
ota-provider-app debug (read only) 2067713 2067649 -64 -0.0
.rodata 176851 176755 -96 -0.1
ota-requestor-app debug (read only) 2097585 2097521 -64 -0.0
.rodata 172956 172860 -96 -0.1
shell debug (read only) 2567793 2567729 -64 -0.0
.rodata 218066 217970 -96 -0.0
tv-app debug (read only) 2855481 2855417 -64 -0.0
.rodata 218635 218539 -96 -0.0
Full report (29 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1f1986b 5e5b29f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 691363 691371 8 0.0
(read/write) 160988 160980 -8 -0.0
.bss 75332 75332 0 0.0
.data 3412 3412 0 0.0
.rodata 102619 102619 0 0.0
.text 588264 588272 8 0.0
lock-ftd LP_CC2652R7 (read only) 678739 678755 16 0.0
(read/write) 164700 164684 -16 -0.0
.bss 73476 73476 0 0.0
.data 3236 3236 0 0.0
.rodata 94339 94339 0 0.0
.text 583916 583932 16 0.0
lock-mtd LP_CC2652R7 (read only) 627563 627571 8 0.0
(read/write) 146308 146308 0 0.0
.bss 69212 69212 0 0.0
.data 3236 3236 0 0.0
.rodata 94219 94219 0 0.0
.text 532852 532860 8 0.0
pump-app LP_CC2652R7 (read only) 663303 663335 32 0.0
(read/write) 181424 181392 -32 -0.0
.bss 73740 73740 0 0.0
.data 3268 3268 0 0.0
.rodata 80527 80527 0 0.0
.text 582296 582328 32 0.0
pump-controller-app LP_CC2652R7 (read only) 656495 656511 16 0.0
(read/write) 188032 188016 -16 -0.0
.bss 73796 73796 0 0.0
.data 3232 3232 0 0.0
.rodata 83615 83615 0 0.0
.text 572400 572416 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 628454 628470 16 0.0
.app_xip_area 531012 531028 16 0.0
.bss 80084 80084 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 627366 627390 24 0.0
.app_xip_area 531380 531404 24 0.0
.bss 78660 78660 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 576154 576186 32 0.0
.app_xip_area 470452 470484 32 0.0
.bss 88080 88080 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
esp32 all-clusters-app c3devkit (read only) 999828 999854 26 0.0
(read/write) 1477138 1477138 0 0.0
.dram0.bss 68472 68472 0 0.0
.dram0.data 14568 14568 0 0.0
.flash.rodata 208616 208616 0 0.0
.flash.text 999828 999854 26 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1053755 1053771 16 0.0
(read/write) 479040 479040 0 0.0
.dram0.bss 73992 73992 0 0.0
.dram0.data 34184 34184 0 0.0
.flash.rodata 238868 238868 0 0.0
.flash.text 1048371 1048387 16 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 686376 686392 16 0.0
.bss 81272 81272 0 0.0
.data 2016 2016 0 0.0
.text 601384 601400 16 0.0
lock k32w061+release (read/write) 731720 731736 16 0.0
.bss 81704 81704 0 0.0
.data 1976 1976 0 0.0
.text 646336 646352 16 0.0
linux all-clusters-app debug (read only) 2742809 2742745 -64 -0.0
(read/write) 174552 174552 0 0.0
.bss 83904 83904 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 82456 82456 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1008 1008 0 0.0
.rodata 236613 236517 -96 -0.0
.text 2330322 2330354 32 0.0
bridge-app debug+rpc (read only) 1897449 1897385 -64 -0.0
(read/write) 121080 121080 0 0.0
.bss 71520 71520 0 0.0
.data 3488 3488 0 0.0
.data.rel.ro 40712 40712 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 161753 161657 -96 -0.1
.text 1612338 1612370 32 0.0
chip-tool debug (read only) 9225605 9225605 0 0.0
(read/write) 577008 577008 0 0.0
.bss 22816 22816 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 546752 546752 0 0.0
.dynamic 624 624 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 472533 472533 0 0.0
.text 7428613 7428613 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9020596 9020596 0 0.0
(read/write) 643121 643121 0 0.0
.bss 41105 41105 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 582008 582008 0 0.0
.dynamic 560 560 0 0.0
.got 14976 14976 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 439236 439236 0 0.0
.text 7121828 7121828 0 0.0
lighting-app debug+rpc (read only) 2331065 2331033 -32 -0.0
(read/write) 152032 152032 0 0.0
.bss 73568 73568 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70664 70664 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 185913 185849 -64 -0.0
.text 1977938 1977970 32 0.0
lock-app debug (read only) 2238537 2238473 -64 -0.0
(read/write) 146616 146616 0 0.0
.bss 72192 72192 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67160 67160 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 195689 195593 -96 -0.0
.text 1881954 1881986 32 0.0
ota-provider-app debug (read only) 2067713 2067649 -64 -0.0
(read/write) 139728 139728 0 0.0
.bss 71680 71680 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60488 60488 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 176851 176755 -96 -0.1
.text 1732466 1732498 32 0.0
ota-requestor-app debug (read only) 2097585 2097521 -64 -0.0
(read/write) 142536 142536 0 0.0
.bss 72320 72320 0 0.0
.data 1992 1992 0 0.0
.data.rel.ro 62584 62584 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 172956 172860 -96 -0.1
.text 1764770 1764802 32 0.0
shell debug (read only) 2567793 2567729 -64 -0.0
(read/write) 198288 198288 0 0.0
.bss 114408 114408 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 76744 76744 0 0.0
.dynamic 592 592 0 0.0
.got 4208 4208 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 218066 217970 -96 -0.0
.text 2186946 2186978 32 0.0
thermostat-no-ble arm64 (read only) 2370244 2370260 16 0.0
(read/write) 175153 175153 0 0.0
.bss 86417 86417 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79408 79408 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 146980 146980 0 0.0
.text 1993376 1993392 16 0.0
tv-app debug (read only) 2855481 2855417 -64 -0.0
(read/write) 277472 277472 0 0.0
.bss 189624 189624 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 76928 76928 0 0.0
.dynamic 592 592 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 218635 218539 -96 -0.0
.text 2453618 2453650 32 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2420356 2420356 0 0.0
.bss 205820 205820 0 0.0
.data 5872 5872 0 0.0
.text 1382956 1382956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180271 1180287 16 0.0
bss 139680 139680 0 0.0
rodata 151792 151792 0 0.0
text 809956 809972 16 0.0
p6 all-clusters-app default (read/write) 2531960 2531976 16 0.0
.bss 139328 139328 0 0.0
.data 2808 2808 0 0.0
.text 1490224 1490240 16 0.0
light-app default (read/write) 2422016 2422016 0 0.0
.bss 132656 132656 0 0.0
.data 2608 2608 0 0.0
.text 1380280 1380280 0 0.0
lock-app default (read/write) 2431544 2431544 0 0.0
.bss 132472 132472 0 0.0
.data 2568 2568 0 0.0
.text 1389808 1389808 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 806528 806552 24 0.0
bss 72176 72176 0 0.0
noinit 40416 40416 0 0.0
text 572768 572790 22 0.0

@msandstedt
Copy link
Contributor

Is it actually spec compliant to emit a bunch of traffic into a fabric after a node has already received a valid RemoveFabric command? I understand why we would want to do this. But is it permitted?

LEAVE event is not emitted on RemoveFabric or factory reset.
There are two reasons for that:
- Removing a fabric causes closing all active ReadHandlers
  for a given fabric, so we must flush the event log before
  that happens.
- There are two listeners for removing a fabric; the one
  that removes ACLs for a given fabric index is executed
  prior to the other one that generates LEAVE event. That
  causes "Accces control: denied" error.

Fix both issues.
@github-actions
Copy link

github-actions bot commented May 17, 2022

PR #18434: Size comparison from f59e7e6 to 6dc4790

Increases (22 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
platform target config section f59e7e6 6dc4790 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 689463 689479 16 0.0
.text 585736 585752 16 0.0
lock-ftd LP_CC2652R7 (read only) 676847 676863 16 0.0
.text 581396 581412 16 0.0
lock-mtd LP_CC2652R7 (read only) 625679 625695 16 0.0
.text 530332 530348 16 0.0
pump-app LP_CC2652R7 (read only) 660355 660371 16 0.0
.text 579408 579424 16 0.0
shell LP_CC2652R7 (read only) 683826 683842 16 0.0
.text 582548 582564 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624734 624742 8 0.0
.app_xip_area 528364 528372 8 0.0
lock cyw930739m2evb_01 (read/write) 627794 627802 8 0.0
.app_xip_area 532880 532888 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 572226 572242 16 0.0
.app_xip_area 467596 467612 16 0.0
efr32 lighting-app BRD4161A (read only) 915052 915068 16 0.0
.text 915044 915060 16 0.0
BRD4161A+rpc (read only) 949288 949304 16 0.0
.text 949280 949296 16 0.0
BRD4161A+rs911x (read only) 784400 784416 16 0.0
.text 784392 784408 16 0.0
window-app BRD4161A (read only) 895172 895188 16 0.0
.text 895164 895180 16 0.0
esp32 all-clusters-app c3devkit (read only) 996592 996620 28 0.0
.flash.text 996592 996620 28 0.0
m5stack (read only) 1052099 1052111 12 0.0
.flash.text 1046715 1046727 12 0.0
k32w light k32w061+release (read/write) 682468 682484 16 0.0
.text 598548 598564 16 0.0
lock k32w061+release (read/write) 728980 728996 16 0.0
.text 644668 644684 16 0.0
linux thermostat-no-ble arm64 (read only) 2343716 2343732 16 0.0
.text 1966800 1966816 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 807568 807576 8 0.0
p6 light-app default (read/write) 2418760 2418776 16 0.0
.text 1377024 1377040 16 0.0
lock-app default (read/write) 2429408 2429424 16 0.0
.text 1387672 1387688 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 782076 782108 32 0.0
text 552992 553020 28 0.0
lighting-app tlsr9518adk80d (read/write) 802168 802200 32 0.0
text 569758 569786 28 0.0
Decreases (4 builds for cc13x2_26x2)
platform target config section f59e7e6 6dc4790 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 162072 162056 -16 -0.0
lock-ftd LP_CC2652R7 (read/write) 165792 165776 -16 -0.0
pump-app LP_CC2652R7 (read/write) 183564 183548 -16 -0.0
shell LP_CC2652R7 (read/write) 163532 163516 -16 -0.0
Full report (27 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section f59e7e6 6dc4790 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 689463 689479 16 0.0
(read/write) 162072 162056 -16 -0.0
.bss 74516 74516 0 0.0
.data 3412 3412 0 0.0
.rodata 103247 103247 0 0.0
.text 585736 585752 16 0.0
lock-ftd LP_CC2652R7 (read only) 676847 676863 16 0.0
(read/write) 165792 165776 -16 -0.0
.bss 72676 72676 0 0.0
.data 3236 3236 0 0.0
.rodata 94967 94967 0 0.0
.text 581396 581412 16 0.0
lock-mtd LP_CC2652R7 (read only) 625679 625695 16 0.0
(read/write) 145508 145508 0 0.0
.bss 68412 68412 0 0.0
.data 3236 3236 0 0.0
.rodata 94855 94855 0 0.0
.text 530332 530348 16 0.0
pump-app LP_CC2652R7 (read only) 660355 660371 16 0.0
(read/write) 183564 183548 -16 -0.0
.bss 72932 72932 0 0.0
.data 3268 3268 0 0.0
.rodata 80467 80467 0 0.0
.text 579408 579424 16 0.0
pump-controller-app LP_CC2652R7 (read only) 653539 653539 0 0.0
(read/write) 190188 190188 0 0.0
.bss 72996 72996 0 0.0
.data 3232 3232 0 0.0
.rodata 83571 83571 0 0.0
.text 569488 569488 0 0.0
shell LP_CC2652R7 (read only) 683826 683842 16 0.0
(read/write) 163532 163516 -16 -0.0
.bss 77140 77140 0 0.0
.data 3416 3416 0 0.0
.rodata 100794 100794 0 0.0
.text 582548 582564 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624734 624742 8 0.0
.app_xip_area 528364 528372 8 0.0
.bss 79012 79012 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 627794 627802 8 0.0
.app_xip_area 532880 532888 8 0.0
.bss 77588 77588 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 572226 572242 16 0.0
.app_xip_area 467596 467612 16 0.0
.bss 87008 87008 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915052 915068 16 0.0
(read/write) 133220 133220 0 0.0
.bss 131160 131160 0 0.0
.data 2060 2060 0 0.0
.text 915044 915060 16 0.0
BRD4161A+rpc (read only) 949288 949304 16 0.0
(read/write) 149904 149904 0 0.0
.bss 147640 147640 0 0.0
.data 2264 2264 0 0.0
.text 949280 949296 16 0.0
BRD4161A+rs911x (read only) 784400 784416 16 0.0
(read/write) 128444 128444 0 0.0
.bss 126372 126372 0 0.0
.data 2068 2068 0 0.0
.text 784392 784408 16 0.0
lock-app BRD4161A+wf200 (read only) 945140 945140 0 0.0
(read/write) 122924 122924 0 0.0
.bss 120900 120900 0 0.0
.data 2024 2024 0 0.0
.text 945132 945132 0 0.0
window-app BRD4161A (read only) 895172 895188 16 0.0
(read/write) 133280 133280 0 0.0
.bss 131232 131232 0 0.0
.data 2048 2048 0 0.0
.text 895164 895180 16 0.0
esp32 all-clusters-app c3devkit (read only) 996592 996620 28 0.0
(read/write) 1476426 1476426 0 0.0
.dram0.bss 67128 67128 0 0.0
.dram0.data 14568 14568 0 0.0
.flash.rodata 209288 209288 0 0.0
.flash.text 996592 996620 28 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1052099 1052111 12 0.0
(read/write) 478448 478448 0 0.0
.dram0.bss 72656 72656 0 0.0
.dram0.data 34184 34184 0 0.0
.flash.rodata 239612 239612 0 0.0
.flash.text 1046715 1046727 12 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682468 682484 16 0.0
.bss 80200 80200 0 0.0
.data 2016 2016 0 0.0
.text 598548 598564 16 0.0
lock k32w061+release (read/write) 728980 728996 16 0.0
.bss 80632 80632 0 0.0
.data 1976 1976 0 0.0
.text 644668 644684 16 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9044964 9044964 0 0.0
(read/write) 644065 644065 0 0.0
.bss 41105 41105 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 582936 582936 0 0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 444532 444532 0 0.0
.text 7138724 7138724 0 0.0
thermostat-no-ble arm64 (read only) 2343716 2343732 16 0.0
(read/write) 175121 175121 0 0.0
.bss 86465 86465 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79336 79336 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147092 147092 0 0.0
.text 1966800 1966816 16 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418784 2418784 0 0.0
.bss 201588 201588 0 0.0
.data 5872 5872 0 0.0
.text 1381428 1381428 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177075 1177075 0 0.0
bss 138352 138352 0 0.0
rodata 152380 152380 0 0.0
text 807568 807576 8 0.0
p6 all-clusters-app default (read/write) 2529824 2529824 0 0.0
.bss 135088 135088 0 0.0
.data 2808 2808 0 0.0
.text 1488088 1488088 0 0.0
light-app default (read/write) 2418760 2418776 16 0.0
.bss 128416 128416 0 0.0
.data 2608 2608 0 0.0
.text 1377024 1377040 16 0.0
lock-app default (read/write) 2429408 2429424 16 0.0
.bss 128232 128232 0 0.0
.data 2568 2568 0 0.0
.text 1387672 1387688 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 782076 782108 32 0.0
bss 70592 70592 0 0.0
noinit 40416 40416 0 0.0
text 552992 553020 28 0.0
lighting-app tlsr9518adk80d (read/write) 802168 802200 32 0.0
bss 70848 70848 0 0.0
noinit 40416 40416 0 0.0
text 569758 569786 28 0.0

@andy31415 andy31415 merged commit d016401 into project-chip:master May 17, 2022
Damian-Nordic added a commit to Damian-Nordic/connectedhomeip that referenced this pull request Jun 15, 2022
…p#18434)

* [opcreds] Fix LEAVE event on RemoveFabric

LEAVE event is not emitted on RemoveFabric or factory reset.
There are two reasons for that:
- Removing a fabric causes closing all active ReadHandlers
  for a given fabric, so we must flush the event log before
  that happens.
- There are two listeners for removing a fabric; the one
  that removes ACLs for a given fabric index is executed
  prior to the other one that generates LEAVE event. That
  causes "Accces control: denied" error.

Fix both issues.

* Add comment

(cherry picked from commit d016401)
Damian-Nordic added a commit to markaj-nordic/connectedhomeip that referenced this pull request Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants