diff options
author | 2010-09-02 23:09:32 +0000 | |
---|---|---|
committer | 2010-09-06 18:24:59 -0700 | |
commit | 1fd63041c49c5c6ed1fe58b7bccc2de462d51e2b (patch) | |
tree | aac2e108e2c8c545669bd9fe655f04ac026f5e15 /net/unix/af_unix.c | |
parent | ibmveth: Update module information and version (diff) | |
download | wireguard-linux-1fd63041c49c5c6ed1fe58b7bccc2de462d51e2b.tar.xz wireguard-linux-1fd63041c49c5c6ed1fe58b7bccc2de462d51e2b.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions