Skip to content

Commit

Permalink
[PATCH] myri10ge build fix
Browse files Browse the repository at this point in the history
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 22, 2006
1 parent 6cc0719 commit bec0e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit bec0e85

Please sign in to comment.