K 10 svn:author V 7 git2svn K 8 svn:date V 27 2022-12-28T09:04:43.238290Z K 7 svn:log V 628 pf: fix pfi_ifnet leak on interface removal The detach of the interface and group were leaving pfi_ifnet memory behind. Check if the kif still has references, and clean it up if it doesn't On interface detach, the group deletion was notified first and then a change notification was sent. This would recreate the group in the kif layer. Reorder the change to before the delete. PR: 257218 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D37569 (cherry picked from commit bfeef0d32a0036bf6bec93a439e0466efe6f4482) Git Hash: 5f7454d8904ca68697dda569f71af6ef5ec178c7 Git Author: nreilly@blackberry.com END