Re: Stop G/C mbufs in if_detach()

2015-06-23 Thread Claudio Jeker
On Tue, Jun 23, 2015 at 03:01:54PM +0200, Martin Pieuchot wrote: When an interface is detached or destroyed the CPU executing if_detach() removes all the mbufs received by this interface on three queues: ARP, IPv4 and IPv6 protocol queues. This made sense to avoid referencing a dangling

Stop G/C mbufs in if_detach()

2015-06-23 Thread Martin Pieuchot
When an interface is detached or destroyed the CPU executing if_detach() removes all the mbufs received by this interface on three queues: ARP, IPv4 and IPv6 protocol queues. This made sense to avoid referencing a dangling rcvif pointer. But now mbufs contain unique interface indexes and protocol