Attached is a diff to resolve a rare memory leak. diff --git a/drivers/net/wimax/i2400m/sdio-rx.c b/drivers/net/wimax/i2400m/sdio-rx.c index d619da3..9ee548c 100644 --- a/drivers/net/wimax/i2400m/sdio-rx.c +++ b/drivers/net/wimax/i2400m/sdio-rx.c @@ -173,6 +173,7 @@ void i2400ms_rx(struct i2400ms *i2400ms) ret = -EIO; if (unlikely(rx_size < sizeof(__le32))) { dev_err(dev, "HW BUG? only %zu bytes received\n", rx_size); + kfree_skb(skb); goto error_bad_size; } if (likely(i2400m_is_d2h_barker(skb->data))) { --------------------------------------------------------------------- A member of the Intel Corporation group of companies This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linuxwimax.org/pipermail/wimax/attachments/20110711/1624e7eb/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: fixleak.diff Type: application/octet-stream Size: 475 bytes Desc: fixleak.diff URL: <http://lists.linuxwimax.org/pipermail/wimax/attachments/20110711/1624e7eb/attachment.obj>