projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbfd24a
)
libertas: free sk_buff with kfree_skb
author
Sergio Luis
<sergio@larces.uece.br>
Mon, 27 Oct 2008 06:09:27 +0000
(23:09 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Oct 2008 06:09:27 +0000
(23:09 -0700)
free sk_buff with kfree_skb, instead of kree
Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/libertas/rx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/libertas/rx.c
b/drivers/net/wireless/libertas/rx.c
index 5749f22b296f90969b6580df2ae505629892762d..079e6aa874dcc13a4a8b3011c7b44d423438e4fa 100644
(file)
--- a/
drivers/net/wireless/libertas/rx.c
+++ b/
drivers/net/wireless/libertas/rx.c
@@
-328,7
+328,7
@@
static int process_rxed_802_11_packet(struct lbs_private *priv,
lbs_deb_rx("rx err: frame received with bad length\n");
priv->stats.rx_length_errors++;
ret = -EINVAL;
- kfree(skb);
+ kfree
_skb
(skb);
goto done;
}