]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bridge: mdb: Common function for mdb entry translation
authorElad Raz <eladr@mellanox.com>
Thu, 21 Apr 2016 10:52:44 +0000 (12:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2016 18:23:32 +0000 (14:23 -0400)
commit6dd684c0feb207f30180570bad24264b922d9476
treea42831f8dd9fdcaa79f147cfbd35c62514fdadcd
parent7ceb2afbd6aee4643056b47156baad6841db8e78
bridge: mdb: Common function for mdb entry translation

There is duplicate code that translates br_mdb_entry to br_ip let's wrap it
in a common function.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c