From: Eric Dumazet Date: Thu, 2 Sep 2010 23:09:32 +0000 (+0000) Subject: net: pskb_expand_head() optimization X-Git-Tag: v2.6.37-rc1~147^2~544 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fd63041c49c5c6ed1fe58b7bccc2de462d51e2b;p=pandora-kernel.git net: pskb_expand_head() optimization pskb_expand_head() blindly takes references on fragments before calling skb_release_data(), potentially releasing these references. We can add a fast path, avoiding these atomic operations, if we own the last reference on skb->head. Based on a previous patch from David Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed