https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230498

Andrey V. Elsukov <a...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #199444|0                           |1
        is obsolete|                            |

--- Comment #17 from Andrey V. Elsukov <a...@freebsd.org> ---
Created attachment 199449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199449&action=edit
Proposed patch

I think this patch can be used for both FreeBSD 12 and 11. Use
IFNET_RLOCK_NOSLEEP() to protect from interface destroying during routes
iteration. In if_detach_internal() mark interface as dying just after we remove
it from the ifnets list. In sysctl_dumpentry() add the check, that interface
was not destroyed before doing the access.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to