diff options
author | Michael Neuling <mikey@neuling.org> | 2012-10-08 19:52:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-09 00:21:38 -0400 |
commit | 66eef59f22275002f621ff9d951886b513d011b3 (patch) | |
tree | ea4f6d9957bb99e22056698aef08d5f72dcc25ff /drivers/net | |
parent | 7c41c42c5d9db9efd8caab4764e912458a1a1a79 (diff) |
net: fix typo in freescale/ucc_geth.c
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index dfa0aaaab009..0a70bb55d1b0 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -3268,7 +3268,7 @@ static int ucc_geth_rx(struct ucc_geth_private *ugeth, u8 rxQ, int rx_work_limit | |||
3268 | if (netif_msg_rx_err(ugeth)) | 3268 | if (netif_msg_rx_err(ugeth)) |
3269 | ugeth_err("%s, %d: ERROR!!! skb - 0x%08x", | 3269 | ugeth_err("%s, %d: ERROR!!! skb - 0x%08x", |
3270 | __func__, __LINE__, (u32) skb); | 3270 | __func__, __LINE__, (u32) skb); |
3271 | dev_free_skb(skb); | 3271 | dev_kfree_skb(skb); |
3272 | 3272 | ||
3273 | ugeth->rx_skbuff[rxQ][ugeth->skb_currx[rxQ]] = NULL; | 3273 | ugeth->rx_skbuff[rxQ][ugeth->skb_currx[rxQ]] = NULL; |
3274 | dev->stats.rx_dropped++; | 3274 | dev->stats.rx_dropped++; |