aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2021-03-15 19:13:42 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-16 11:57:57 -0700
commite09cf582059ef4c1e5c496d6494fe4e26482530f (patch)
tree5056e1dd6420ad0f3381c7bcd73af225afc9037d /net/lapb/lapb_timer.c
parent6aa2c371c729a3e3f8c7d4e08e0ff10e706b81d3 (diff)
downloadlinux-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