]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: skb leak in mesh_plink_frame_tx()
authorThomas Pedersen <thomas@cozybit.com>
Fri, 3 Aug 2012 19:21:35 +0000 (12:21 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 3 Aug 2012 19:34:29 +0000 (21:34 +0200)
commitbcdee03e8f3476402230f933cc3f1f13c71b51eb
treee046bde3df86b0278f23f78f6a7aa1cbb0f0bb47
parent1d00f6423a9e611efb966ba2a133b8edddae4af9
mac80211: skb leak in mesh_plink_frame_tx()

Although adding an IE is almost guaranteed to succeed since we already
accounted for its length while allocating the skb, we should still free
the skb in case of failure.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c