006-fix-genl-multicast.patch 350 B

12345678910
  1. --- a/compat/backport-4.12.c
  2. +++ b/compat/backport-4.12.c
  3. @@ -225,6 +225,7 @@ int bp_extack_genl_register_family(struc
  4. /* copy this since the family might access it directly */
  5. family->attrbuf = copy->family.attrbuf;
  6. + family->mcgrp_offset = copy->family.mcgrp_offset;
  7. mutex_lock(&copies_mutex);
  8. list_add_tail(&copy->list, &copies_list);