Merge r272358 from head:
  Use rn_detachhead() instead of direct free(9) for radix tables.
Merge r272385 by melifaro from head:
  Free radix mask entries on main radix destroy.
  This is temporary commit to be merged to 10.
  Other approach (like hash table) should be used
  to store different masks.

PR:             194078
Revert r270120 (partial), r270122:
  Restore ABI compatibility with 10.0-RELEASE.

Requested by:	many
Reviewed by:	delphij, ache
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
Merge remote-tracking branch 'freebsd/stable/10' into freebsd10