1. 21 3月, 2006 38 次提交
  2. 20 3月, 2006 1 次提交
    • R
      [AX.25]: Fix potencial memory hole. · c7c694d1
      Ralf Baechle DL5RB 提交于
      If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3
      (or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall
      through the switch statement without calling ax25_send_iframe() or any
      other function that would eventually free skbn thus leaking the packet.
      
      Fix by restricting the sysctl inferface to allow only actually supported
      AX.25 dialects.
      
      The system administration mistake needed for this to happen is rather
      unlikely, so this is an uncritical hole.
      
      Coverity #651.
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c7c694d1
  3. 18 3月, 2006 1 次提交
    • J
      [PATCH] ieee80211: Don't update network statistics from off-channel packets. · f44349f2
      James Ketrenos 提交于
      This patch fixes a problem in the ieee80211 probe response and beacon
      reception code that would use the packet statistics for a network even
      if they were received on a channel other than that which the network
      exists on.
      
      This causes a problem in overlapping channels where, for example, a
      strong AP on channel 2 could have its beacons received on channels 1 and
      3, but at much lower signal levels.  If scanning was done sequentially,
      this means the beacon received on channel 3 would update the AP's signal
      level as being much lower than it really is, which subsequently could
      cause that AP to be passed over and an alternate AP selected.
      Signed-off-by: NJames Ketrenos <jketreno@linux.intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f44349f2