projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0241fa1
)
cfg80211: fix faulty variable initialization in ieee80211_amsdu_to_8023s
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 8 Feb 2016 13:25:26 +0000
(14:25 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:37 +0000
(09:04 +0100)
reuse_skb is set to true if the code decides to use the last segment.
Fixes a memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index 6e4eb35551776d497a85d91c1f0fab2ecf25d72b..9880c894c58d0e6fb1a34443fa6343e250509966 100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-676,7
+676,7
@@
void ieee80211_amsdu_to_8023s(struct sk_buff *skb, struct sk_buff_head *list,
u8 *payload;
int offset = 0, remaining, err;
struct ethhdr eth;
- bool reuse_skb =
tru
e;
+ bool reuse_skb =
fals
e;
bool last = false;
if (has_80211_header) {