From: Benjamin Poirier Date: Mon, 10 Aug 2009 20:13:40 +0000 (-0400) Subject: Do not use pkfree_skb events for synchronization X-Git-Tag: v0.12.26~54 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=85c9417b6ebc1e1cd25d479389c91926eb6948dc;hp=85c9417b6ebc1e1cd25d479389c91926eb6948dc;p=lttv.git Do not use pkfree_skb events for synchronization Don't rely on events indicating when sk_buff structures are freed. After a receive, we wait for another event indicating that this receive was for TCP data. In the case where the data was not TCP, instead of keeping information about the receive, we used to discard it when the skb was freed. It turns out that it faster (and simpler) not to look at pkfree_skb events and keep the information around anyways. Since sk_buff's are allocated in a pool, the information will get overwritten and the size of pendingRecv will not grow infinitely. Signed-off-by: Benjamin Poirier ---