From: Herbert Xu Date: Mon, 31 Jul 2006 03:20:28 +0000 (-0700) Subject: [NET]: Fix ___pskb_trim when entire frag_list needs dropping X-Git-Tag: v2.6.18-rc4~65^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d26fb336f3c08066bffbe907d3104be4fb91a8;p=pandora-kernel.git [NET]: Fix ___pskb_trim when entire frag_list needs dropping When the trim point is within the head and there is no paged data, ___pskb_trim fails to drop the first element in the frag_list. This patch fixes this by moving the len <= offset case out of the page data loop. This patch also adds a missing kfree_skb on the frag that we just cloned. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed