> -----Original Message----- > From: Stephen Hemminger [mailto:stephen@xxxxxxxxxxxxxxxxxx] > Sent: Wednesday, October 15, 2014 5:33 PM > To: Pan Jiafei-B37022 > Cc: davem@xxxxxxxxxxxxx; jkosina@xxxxxxx; netdev@xxxxxxxxxxxxxxx; Li Yang-Leo- > R58472; linux-doc@xxxxxxxxxxxxxxx > Subject: Re: [PATCH] net: use hardware buffer pool to allocate skb > > Since an skb can sit forever in an application queue, you have created > an easy way to livelock the system when enough skb's are waiting to be > read. I think there is no possible to livelock the system, because in my patch The function __netdev_alloc_skb will try to allocate hardware block buffer Firstly if dev->alloc_hw_skb is set, but it will continue allocate normal skb buffer if the hardware block buffer allocation fails. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html