diff options
| author | Ido Schimmel <[email protected]> | 2022-10-18 06:40:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-10-19 13:01:08 +0000 |
| commit | d1942cd47dbdfb5a6187f660418a4e1be38d1312 (patch) | |
| tree | cce58755e1af9f001006e3ab54ce1549e0148477 /tools/bpf/bpftool/prog.c | |
| parent | bridge: mcast: Use spin_lock() instead of spin_lock_bh() (diff) | |
| download | kernel-d1942cd47dbdfb5a6187f660418a4e1be38d1312.tar.gz kernel-d1942cd47dbdfb5a6187f660418a4e1be38d1312.zip | |
bridge: mcast: Simplify MDB entry creation
Before creating a new MDB entry, br_multicast_new_group() will call
br_mdb_ip_get() to see if one exists and return it if so.
Therefore, simply call br_multicast_new_group() and omit the call to
br_mdb_ip_get().
Signed-off-by: Ido Schimmel <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
