commit | 7c47cedf43a8b3086c3dcf26cbc058747ee21bec | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Mon Jun 17 14:16:10 2013 -0700 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Mon Jun 24 08:40:32 2013 -0700 |
tree | 50b4bbbd0e4e0c6fc9a5daeb8d51a55e0eaab12c | |
parent | 758c57d16adcbec3c03e85f0c9a5b4ca31f6c507 [diff] |
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: Stephen Hemminger <stephen@networkplumber.org>