Apply a similar fix as for in6_mcast.c.
Sponsored by: Dell EMC Isilon
Differential D20740
in_mcast.c: need if_addr_lock around inm_release_deferred rlibby on Jun 24 2019, 4:28 PM. Authored by Tags None Referenced Files
Subscribers
Details Apply a similar fix as for in6_mcast.c. Sponsored by: Dell EMC Isilon sysctl debug.fail_point.mnowait="1%return"
Diff Detail
Event TimelineComment Actions Finally got around to testing this. I have been running with this patch, but wanted to demonstrate that the error paths were actually covered. I was able to hit the first path (in in_joingroup_locked()) with an alloc M_NOWAIT fail point. I think the second one (in in_join_group()) is not possible to hit with the current code flow (is_new && imf → imf->imf_inm == NULL). But I inserted a fail point between in_joingroup_locked() and inm_acquire() and was able to light it up that way. No panics or witness warnings. |