if_vxlan(4): Move the allocating of statistics counters below if_alloc()
The MFS of the fix [1] is done but the prerequisite [2] has not been
MFCed to stable/13 branch yet. This results in another potential leak
condition in stable/13 branch. Well if_alloc(IFT_ETHER) shall not
fail, but just in case.
This is a direct commit to stable/13.
- e729e750806d if_vxlan(4): Plug a memory leak
- 4787572d0580 ifnet: make if_alloc_domain() never fail
Reviewed by: kp
Fixes: 12bd1341d2aa if_vxlan(4): Plug a memory leak
Differential Revision: https://reviews.freebsd.org/D45972