On Wed, 2015-08-26 at 07:48 +0000, Zhangjie (HZ) wrote:
> Eric,
> Thank you for your patient apply.
> There is still a question, 
> In receive path, driver does not call dev_hold(), when skb goes to host 
> stack, skb->dev is likely to be used. 
> If device is destroyed before that, it seems dangerous.

This is also handled properly.

Check : flush_backlog() in net/core/dev.c
   sock_queue_rcv_skb() , and all functions setting skb->dev to NULL


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to