提交 bec0e859 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] myri10ge build fix

Someone changed skb_linearize().

Cc: Brice Goglin <bgoglin@myri.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 6cc07191
......@@ -2120,7 +2120,7 @@ static int myri10ge_xmit(struct sk_buff *skb, struct net_device *dev)
goto drop;
}
if (skb_linearize(skb, GFP_ATOMIC))
if (skb_linearize(skb))
goto drop;
mgp->tx_linearized++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册