Merge branch 'netlink_multicast'
authorDavid S. Miller <davem@davemloft.net>
Sat, 27 Dec 2014 07:20:30 +0000 (02:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Dec 2014 07:20:30 +0000 (02:20 -0500)
commit24f626d3439f61d87fca0c0c07f614fba41a4e92
treeadc927b4f3fb05268c6ca808aee5d0109351fec1
parenteb46e2215fc6bdaaf8eda3a6c7c0dd033d171cad
parentc380d9a7afff0e4c2e5f3c1c2dc7d2f4214dd962
Merge branch 'netlink_multicast'

Johannes Berg says:

====================
netlink/genetlink cleanups & multicast improvements

I'm looking at using the multicast group functionality in a way that would
benefit from knowing when there are subscribers to avoid collecting the
required data when there aren't any. During this I noticed that the unbind
for multicast groups doesn't actually work - it's never called when sockets
are closed. Luckily, nobody actually uses the functionality.

While looking at the code trying to find why it's not called and where the
multicast listeners are actually removed, I found the potential cleanup in
patch 3. Patch 2 also has a cleanup for a generic netlink API in this area.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>