Eric Dumazet 1fd63041c4 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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-06 18:24:59 -07:00
..
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-07-14 18:02:16 -07:00
2010-09-01 18:12:20 -07:00
2010-07-12 12:57:55 -07:00
2010-08-31 13:37:06 -07:00
2010-07-12 12:57:55 -07:00
2010-09-06 18:24:59 -07:00
2010-07-19 15:12:51 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00