diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-15 04:48:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-18 15:55:24 -0700 |
commit | e3ec1e8ca02b7e6c935bba3f9b6da86c2e57d2eb (patch) | |
tree | 3abbfe2a791c1a43136d3326e2f67da9207fe4cb /samples/bpf/task_fd_query_kern.c | |
parent | 46191546d03d2e0c18d1c1d18e1ce11f5e717f28 (diff) | |
download | linux-e3ec1e8ca02b7e6c935bba3f9b6da86c2e57d2eb.tar.gz linux-e3ec1e8ca02b7e6c935bba3f9b6da86c2e57d2eb.tar.bz2 linux-e3ec1e8ca02b7e6c935bba3f9b6da86c2e57d2eb.zip |
net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()
The frags of skb_shared_info of the data is assigned in following loop. It
is meaningless to do a memcpy of frags here.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/task_fd_query_kern.c')
0 files changed, 0 insertions, 0 deletions