diff options
| author | Eric Dumazet <edumazet@google.com> | 2017-04-19 09:59:26 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 10:13:23 +0100 |
| commit | 49cf68d70f47d951c9053d769d3976d9e1be1a25 (patch) | |
| tree | c22a6343c276b9ffde2f52c28006a6caff029f81 /net/unix/sysctl_net_unix.c | |
| parent | 4307a871ce5778ff1f994ad24b3c3ec97efeaf16 (diff) | |
kaweth: use skb_cow_head() to deal with cloned skbs
commit 39fba7835aacda65284a86e611774cbba71dac20 upstream.
We can use skb_cow_head() to properly deal with clones,
especially the ones coming from TCP stack that allow their head being
modified. This avoids a copy.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: James Hughes <james.hughes@raspberrypi.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
