HomeFreeBSD

MFC r343394:

Description

MFC r343394:
When detaching a network interface drain the workqueue freeing the inm's
because the destructor will access the if_ioctl() callback in the ifnet
pointer which is about to be freed. This prevents use-after-free.

PR: 233535
Differential Revision: https://reviews.freebsd.org/D18887
Reviewed by: bz (net)
Tested by: ae
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Reviewer
bz
Differential Revision
D18887: Fix refcounting leaks in IPv6 MLD code leading to loss of IPv6 connectivity
Parents
rS343648: MFC r343393:
Branches
Unknown
Tags
Unknown