Jesper Juhl
74b8cc3d59
Net, mac80211: Fix resource leak in ieee80211_rx_h_mesh_fwding()
...
We may leak the 'fwd_skb' we skb_copy() in ieee80211_rx_h_mesh_fwding() if
we take the 'else' branch in the 'if' statement just below. If we take
that branch we'll end up returning from the function and since we've not
assigned 'fwd_skb' to anything at that point, we leak it when the variable
goes out of scope.
The simple fix seems to be to just kfree_skb(fwd_skb); just before we
return. That is what this patch does.
Signed-off-by: Jesper Juhl <jj@chaosbits.net >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2012-01-16 15:01:15 -05:00
..
2012-01-12 15:44:42 +10:30
2011-10-31 19:30:30 -04:00
2011-12-14 02:39:30 -05:00
2011-10-31 19:30:30 -04:00
2011-12-05 15:20:19 -05:00
2011-12-28 14:08:08 -05:00
2011-12-16 15:07:28 -05:00
2012-01-10 15:44:17 -05:00
2011-12-23 17:13:56 -05:00
2012-01-09 13:08:28 -08:00
2011-10-17 19:22:46 -04:00
2011-12-13 14:59:42 -08:00
2012-01-12 12:26:56 -08:00
2011-10-31 19:30:30 -04:00
2012-01-11 12:56:06 -08:00
2012-01-12 12:26:56 -08:00
2011-03-17 11:59:32 +11:00
2011-11-29 00:21:36 -05:00
2011-11-18 14:37:09 -05:00
2011-09-15 14:49:44 -04:00
2011-11-18 14:37:09 -05:00
2012-01-12 12:27:59 -08:00
2012-01-12 12:26:56 -08:00
2011-10-31 19:30:30 -04:00
2011-12-21 15:46:22 -05:00
2011-12-20 14:05:03 -05:00
2011-12-11 18:25:16 -05:00
2011-11-26 15:57:36 -05:00
2011-09-16 19:20:20 -04:00
2011-12-19 15:58:52 -05:00
2012-01-16 15:01:15 -05:00
2012-01-12 12:26:56 -08:00
2012-01-12 12:26:56 -08:00
2011-12-28 13:48:55 -05:00
2011-12-28 14:08:08 -05:00
2012-01-04 14:30:43 -05:00
2011-12-06 12:58:57 -05:00
2011-12-30 13:04:14 -05:00
2012-01-12 12:26:56 -08:00
2012-01-12 20:05:28 -08:00
2012-01-05 10:13:24 -05:00
2011-10-31 19:30:30 -04:00
2011-12-19 22:27:29 -05:00
2012-01-12 20:05:28 -08:00
2012-01-08 13:21:22 -08:00
2012-01-12 20:30:02 -08:00
2011-12-29 21:53:30 -05:00
2012-01-09 14:46:52 -08:00
2011-11-07 13:27:30 -05:00
2011-10-31 19:30:30 -04:00
2012-01-11 15:14:50 -05:00
2011-12-16 15:49:52 -05:00
2012-01-12 12:26:56 -08:00
2011-10-31 19:30:30 -04:00
2011-12-03 09:35:17 -08:00
2011-12-03 09:35:17 -08:00
2010-10-15 15:53:27 +02:00
2012-01-12 12:26:56 -08:00
2011-10-31 19:30:30 -04:00