Repository navigation
Commit e3ec1e8
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>1 parent 4619154 commit e3ec1e8
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5953 | 5953 | | |
5954 | 5954 | | |
5955 | 5955 | | |
5956 | | - | |
5957 | | - | |
| 5956 | + | |
5958 | 5957 | | |
5959 | 5958 | | |
5960 | 5959 | | |
| |||
0 commit comments