Changeset 10312


Ignore:
Timestamp:
2008-01-29T18:17:04+01:00 (8 years ago)
Author:
nbd
Message:

fix a small race condition in the madwifi queue handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/patches/327-queue.patch

    r10296 r10312  
    11Index: madwifi-trunk-r3280/ath/if_ath.c 
    22=================================================================== 
    3 --- madwifi-trunk-r3280.orig/ath/if_ath.c       2008-01-28 20:01:09.051041030 +0100 
    4 +++ madwifi-trunk-r3280/ath/if_ath.c    2008-01-28 20:01:55.057662800 +0100 
     3--- madwifi-trunk-r3280.orig/ath/if_ath.c       2008-01-29 17:57:02.738327980 +0100 
     4+++ madwifi-trunk-r3280/ath/if_ath.c    2008-01-29 17:57:02.770329801 +0100 
    55@@ -8336,8 +8336,6 @@ 
    66        ath_hal_intrset(sc->sc_ah, sc->sc_imask); 
     
    3030                ath_led_event(sc, ATH_LED_TX); 
    3131 } 
     32Index: madwifi-trunk-r3280/net80211/ieee80211_input.c 
     33=================================================================== 
     34--- madwifi-trunk-r3280.orig/net80211/ieee80211_input.c 2008-01-29 17:57:29.147832972 +0100 
     35+++ madwifi-trunk-r3280/net80211/ieee80211_input.c      2008-01-29 17:58:27.315147737 +0100 
     36@@ -1136,7 +1136,7 @@ 
     37            (vap->iv_flags & IEEE80211_F_NOBRIDGE) == 0) { 
     38                struct sk_buff *skb1 = NULL; 
     39  
     40-               if (ETHER_IS_MULTICAST(eh->ether_dhost)) { 
     41+               if (ETHER_IS_MULTICAST(eh->ether_dhost) && !netif_queue_stopped(dev)) { 
     42                        /* Create a SKB for the BSS to send out. */ 
     43                        skb1 = skb_copy(skb, GFP_ATOMIC); 
     44                        if (skb1) 
Note: See TracChangeset for help on using the changeset viewer.