From: Thomas Pedersen Date: Fri, 10 Aug 2012 01:15:40 +0000 (-0700) Subject: mac80211: clean up mpath_move_to_queue() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~278^2^2~6^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd4c2dd8e734868ae9f0ceb87a6edd27df8f45c;p=pandora-kernel.git mac80211: clean up mpath_move_to_queue() Use skb_queue_walk_safe instead, and fix a few issues: - didn't free old skbs on moving - didn't react to failed skb alloc - needlessly held a local pointer to the destination frame queue - didn't check destination queue length before adding skb Signed-off-by: Thomas Pedersen Signed-off-by: Johannes Berg --- Reading git-diff-tree failed