Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66eef59f authored by Michael Neuling's avatar Michael Neuling Committed by David S. Miller
Browse files

net: fix typo in freescale/ucc_geth.c



The following patch:
  acb600de 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: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c41c42c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;