Skip to content

Commit c053d7b

Browse files
ij-inteldavem330
authored andcommitted
net: wwan: t7xx: Use needed_headroom instead of hard_header_len
hard_header_len is used by gro_list_prepare() but on Rx, there is no header so use needed_headroom instead. Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Sreehari Kancharla <[email protected]> Reviewed-by: Sergey Ryazanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2acf960 commit c053d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wwan/t7xx/t7xx_netdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static void t7xx_ccmni_post_stop(struct t7xx_ccmni_ctrl *ctlb)
161161

162162
static void t7xx_ccmni_wwan_setup(struct net_device *dev)
163163
{
164-
dev->hard_header_len += sizeof(struct ccci_header);
164+
dev->needed_headroom += sizeof(struct ccci_header);
165165

166166
dev->mtu = ETH_DATA_LEN;
167167
dev->max_mtu = CCMNI_MTU_MAX;

0 commit comments

Comments
 (0)