From: Faisal Latif Date: Thu, 25 Dec 2008 04:30:04 +0000 (-0800) Subject: RDMA/nes: Remove tx_free_list X-Git-Tag: v2.6.29-rc1~583^2^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e189062a8ca55b0a1843f0346c3fae1a47297c34;p=pandora-kernel.git RDMA/nes: Remove tx_free_list There is no lock protecting tx_free_list thus causing a system crash when skb_dequeue() is called and the list is empty. Since it did not give any performance boost under heavy load, remove it to simplify the code. Replace get_free_pkt() with dev_alloc_skb() to allocate MAX_CM_BUFFER skb for connection establishment/teardown as well as MPA request/response. Signed-off-by: Faisal Latif Signed-off-by: Chien Tung Signed-off-by: Roland Dreier --- Reading git-diff-tree failed