backports: fix the extack backport for dumps
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Oct 2017 08:22:53 +0000 (10:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Oct 2017 08:22:53 +0000 (10:22 +0200)
commit75fadbc1381e4aef826177591a02968998f5ebe7
tree239ac55d3d6093ef261d76c934b9ad0fa217bc2b
parent0d4503988a997e6414d1bf074c9a6fc62a7b339c
backports: fix the extack backport for dumps

I also never seem to have really tested unload after dumps,
and using the family->attrbuf was causing memory corruption
in the copied family.

Fix this by keeping track of the family copies separately
and actually copying the attrbuf over so the family can use
it from there.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/compat/backport-4.12.c