mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
b22bd5221c
commit
4bd4c2dd8e
3 changed files with 21 additions and 18 deletions
|
@ -17,8 +17,6 @@
|
|||
#define MAX_METRIC 0xffffffff
|
||||
#define ARITH_SHIFT 8
|
||||
|
||||
/* Number of frames buffered per destination for unresolved destinations */
|
||||
#define MESH_FRAME_QUEUE_LEN 10
|
||||
#define MAX_PREQ_QUEUE_LEN 64
|
||||
|
||||
/* Destination only */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue