1. 03 9月, 2014 1 次提交
  2. 08 8月, 2014 1 次提交
  3. 30 7月, 2014 1 次提交
  4. 25 7月, 2014 1 次提交
  5. 24 7月, 2014 1 次提交
  6. 17 7月, 2014 1 次提交
  7. 02 7月, 2014 1 次提交
  8. 01 7月, 2014 1 次提交
  9. 30 6月, 2014 1 次提交
  10. 23 5月, 2014 9 次提交
  11. 17 5月, 2014 1 次提交
  12. 28 3月, 2014 1 次提交
  13. 15 3月, 2014 1 次提交
  14. 16 2月, 2014 2 次提交
  15. 15 2月, 2014 2 次提交
  16. 05 2月, 2014 4 次提交
  17. 07 1月, 2014 10 次提交
  18. 20 11月, 2013 1 次提交
    • J
      genetlink: make multicast groups const, prevent abuse · 2a94fe48
      Johannes Berg 提交于
      Register generic netlink multicast groups as an array with
      the family and give them contiguous group IDs. Then instead
      of passing the global group ID to the various functions that
      send messages, pass the ID relative to the family - for most
      families that's just 0 because the only have one group.
      
      This avoids the list_head and ID in each group, adding a new
      field for the mcast group ID offset to the family.
      
      At the same time, this allows us to prevent abusing groups
      again like the quota and dropmon code did, since we can now
      check that a family only uses a group it owns.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2a94fe48