projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IRDA]: mcs7780 needs to free allocated rx buffer.
[deliverable/linux.git]
/
drivers
/
net
/
irda
/
mcs7780.c
diff --git
a/drivers/net/irda/mcs7780.c
b/drivers/net/irda/mcs7780.c
index 0b769192d4ce0753c872410c601a1e2eb4849a8e..93916cf33f295604e939d02d2b7a1f0bfef28e66 100644
(file)
--- a/
drivers/net/irda/mcs7780.c
+++ b/
drivers/net/irda/mcs7780.c
@@
-677,6
+677,8
@@
static int mcs_net_close(struct net_device *netdev)
/* Stop transmit processing */
netif_stop_queue(netdev);
+ kfree_skb(mcs->rx_buff.skb);
+
/* kill and free the receive and transmit URBs */
usb_kill_urb(mcs->rx_urb);
usb_free_urb(mcs->rx_urb);
This page took
0.024128 seconds
and
5
git commands to generate.