Project

General

Profile

Submit #2792 ยป udp-detach.diff

No fast detach in case of multicast udp - yellowrabbit2010, 02/24/2015 03:25 AM

View differences:

sys/netinet/udp_usrreq.c
case IP_MULTICAST_LOOP:
case IP_ADD_MEMBERSHIP:
case IP_DROP_MEMBERSHIP:
if (&curthread->td_msgport != netisr_cpuport(0)) {
/*
* This pr_ctloutput msg will be forwarded
* to netisr0 to run; we can't do direct
* detaching anymore.
*/
inp->inp_flags &= ~INP_DIRECT_DETACH;
}
break;
}
}
    (1-1/1)