net: fix typo in freescale/ucc_geth.c
authorMichael Neuling <mikey@neuling.org>
Mon, 8 Oct 2012 23:52:25 +0000 (10:52 +1100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Oct 2012 04:21:38 +0000 (00:21 -0400)
The following patch:
  acb600d net: remove skb recycling
added dev_free_skb() to drivers/net/ethernet/freescale/ucc_geth.c

This is a typo and should be dev_kfree_skb().  This fixes this.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.c

index dfa0aaaab00998f92f21ec2a550ebba87e08f4d5..0a70bb55d1b0fb624cf4202c855055f5969f5154 100644 (file)
@@ -3268,7 +3268,7 @@ static int ucc_geth_rx(struct ucc_geth_private *ugeth, u8 rxQ, int rx_work_limit
                        if (netif_msg_rx_err(ugeth))
                                ugeth_err("%s, %d: ERROR!!! skb - 0x%08x",
                                           __func__, __LINE__, (u32) skb);
-                       dev_free_skb(skb);
+                       dev_kfree_skb(skb);
 
                        ugeth->rx_skbuff[rxQ][ugeth->skb_currx[rxQ]] = NULL;
                        dev->stats.rx_dropped++;