diff options
author | Thomas Pedersen <thomas@cozybit.com> | 2012-08-10 03:15:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-08-20 13:25:05 +0200 |
commit | 4bd4c2dd8e734868ae9f0ceb87a6edd27df8f45c (patch) | |
tree | 81c3fc65c74c5ba83ef4e23597c99848b7c1f635 /net/unix | |
parent | mac80211: use skb_queue_walk() in mesh_path_assign_nexthop (diff) | |
download | linux-4bd4c2dd8e734868ae9f0ceb87a6edd27df8f45c.tar.xz linux-4bd4c2dd8e734868ae9f0ceb87a6edd27df8f45c.zip |
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 <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions