diff options
author | Nikolay Aleksandrov <nikolay@nvidia.com> | 2021-03-15 19:13:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-16 11:57:57 -0700 |
commit | e09cf582059ef4c1e5c496d6494fe4e26482530f (patch) | |
tree | 5056e1dd6420ad0f3381c7bcd73af225afc9037d /net/lapb/lapb_timer.c | |
parent | 6aa2c371c729a3e3f8c7d4e08e0ff10e706b81d3 (diff) | |
download | linux-e09cf582059ef4c1e5c496d6494fe4e26482530f.tar.gz linux-e09cf582059ef4c1e5c496d6494fe4e26482530f.tar.bz2 linux-e09cf582059ef4c1e5c496d6494fe4e26482530f.zip |
net: bridge: mcast: factor out common allow/block EHT handling
We hande EHT state change for ALLOW messages in INCLUDE mode and for
BLOCK messages in EXCLUDE mode similarly - create the new set entries
with the proper filter mode. We also handle EHT state change for ALLOW
messages in EXCLUDE mode and for BLOCK messages in INCLUDE mode in a
similar way - delete the common entries (current set and new set).
Factor out all the common code as follows:
- ALLOW/INCLUDE, BLOCK/EXCLUDE: call __eht_create_set_entries()
- ALLOW/EXCLUDE, BLOCK/INCLUDE: call __eht_del_common_set_entries()
The set entries creation can be reused in __eht_inc_exc() as well.
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions