Skip to content
Commit 7c47cedf authored by Stephen Hemminger's avatar Stephen Hemminger
Browse files

vxlan: move IGMP join/leave to work queue



Do join/leave from work queue to avoid lock inversion problems
between normal socket and RTNL. The code comes out cleaner
as well.

Uses Cong Wang's suggestion to turn refcnt into a real atomic
since now need to handle case where last use of socket is IGMP
worker.

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
parent 758c57d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment