Commit bec0e859 authored by Andrew Morton's avatar Andrew Morton Committed by 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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment