Christian Lamparter wrote: > We have to be careful if multiple "control frames" are passed in a very short intervals to > the device's firmware. As p54_assign_address always put them into same memory location. > To guarantee that this won't happen anymore, we have to treat control frames like normal > data frames in the devices own memory management. > > Larry? If this update doesn't fix the crash in p54_set_vdcf. Can you please remove the > #if 0/#endif around p54_dump_txqueue and put one p54_dump_txqueue(dev) > right before the p54_assign_address in p54_set_vdcf and another one after p54_assign_.... Christian, Thus far, the new set of patches have not oopsed. I was able to discover that the previous version crashed because "target_skb" was NULL in the call to __skb_queue_after(). I avoided the crash by the equivalent of the patch below. It may not be needed, but adding it to the current patch set won't hurt, and will provide extra safety just in case my testing has not found all the conditions that trigger this condition. Larry Index: wireless-testing/drivers/net/wireless/p54/p54common.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/p54/p54common.c +++ wireless-testing/drivers/net/wireless/p54/p54common.c @@ -829,7 +829,7 @@ static void p54_assign_address(struct ie } else largest_hole = max(largest_hole, priv->rx_end - last_addr); - if (skb) { + if (skb && target_skb) { struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct memrecord *range = (void *)info->driver_data; range->start_addr = target_addr; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html