]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: multicast: calculate idx position without changing ptr
authorNikolay Aleksandrov <nikolay@nvidia.com>
Wed, 20 Jan 2021 14:51:53 +0000 (16:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 03:39:56 +0000 (19:39 -0800)
commitb58390ca48ce6718b1c830a3697312283bb383e9
tree7efa13d59bbc8141899a3b2630bbc11cb9ad9d39
parent59ec7a49996ed811daec5eec55b88db9bff4e6f9
net: bridge: multicast: calculate idx position without changing ptr

We need to preserve the srcs pointer since we'll be passing it for EHT
handling later.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_multicast.c