commit | 812714d741750038004da505074c9158e9dee270 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Tue May 06 12:52:07 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon May 12 21:22:18 2008 -0400 |
tree | 21cb02b9743bd5ea2cff490055d55e31c4a7f1e8 | |
parent | 69687a0b9934942e61bf8148c242adea87183a5b [diff] [blame] |
mac80211: mesh hwmp: fix kfree(skb) Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 3df8092..af0cd1e 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c
@@ -120,7 +120,7 @@ *pos++ = WLAN_EID_PREP; break; default: - kfree(skb); + kfree_skb(skb); return -ENOTSUPP; break; }