aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2019-10-19 08:03:55 +0000
committerDavid S. Miller <[email protected]>2019-10-21 16:22:10 +0000
commit7fda3a930d15a993389018e31532f3a1e34974ab (patch)
treeee3c6828d1efab9c86336495ffd1a0a46c3def67 /drivers/net/xen-netback/interface.c
parentnet: hns3: minor cleanup for hns3_handle_rx_bd() (diff)
downloadkernel-7fda3a930d15a993389018e31532f3a1e34974ab.tar.gz
kernel-7fda3a930d15a993389018e31532f3a1e34974ab.zip
net: hns3: do not allocate linear data for fraglist skb
Currently, napi_alloc_skb() is used to allocate skb for fraglist when the head skb is not enough to hold the remaining data, and the remaining data is added to the frags part of the fraglist skb, leaving the linear part unused. So this patch passes length of 0 to allocate fraglist skb with zero size of linear data. Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions