net: bridge: mdb: factor out mdb filling
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Sat, 17 Aug 2019 11:22:11 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:36:56 +0000 (12:36 -0700)
commit6545916ed9f4b805515a7546908a6b2ff2d060b5
tree7d4332bfb83ee1b05d10959d624e28032c760a54
parentf59783f5bb1ac6c59d4ba35430df1b89caeadab1
net: bridge: mdb: factor out mdb filling

We have to factor out the mdb fill portion in order to re-use it later for
the bridge mdb entries. No functional changes intended.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c