提交 b4bf665c 编写于 作者: D David S. Miller

virtio_net: Fix mis-merge.

Pointed out by Stephen Rothwell.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dad1e54b
......@@ -329,7 +329,6 @@ static int add_recvbuf_small(struct virtnet_info *vi, gfp_t gfp)
struct skb_vnet_hdr *hdr;
int err;
sg_init_table(sg, 2);
skb = netdev_alloc_skb_ip_align(vi->dev, MAX_PACKET_LEN);
if (unlikely(!skb))
return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册