Skip to content
Snippets Groups Projects
  1. Mar 01, 2006
  2. Feb 28, 2006
  3. Feb 27, 2006
  4. Feb 25, 2006
  5. Feb 24, 2006
  6. Feb 23, 2006
  7. Feb 21, 2006
  8. Feb 20, 2006
    • Jean Tourrilhes's avatar
      [IRDA]: irda-usb bug fixes · 669d32a2
      Jean Tourrilhes authored
      
      This patch fixes 2 bugs in the USB-IrDA code.
      
      The first one is a buffer overrun in the RX path. We are now using
      IRDA_SKB_MAX_MTU when initializing the Rx URB.
      
      The second one is a potential stack recursion when unplugging the USB
      dongle.  It seems that first we get the Rx URB with a generic error
      code, and after a while the Rx URB comes again with a "disconnect"
      error code.  Since we are resubmitting the Rx URB immediately after
      receiving the first error one, we might enter an endless loop.
      
      When getting an error Rx URB, the patch defers the Rx URB resubmitting
      so that it gives us a chance to catch the disconnect one, in case the
      dongle has juts been unplugged.
      
      Tested against 2.6.16-rc2.
      
      Patch from Jean Tourrilhes
      
      Signed-off-by: default avatarJean Tourrilhes <jt@hpl.hp.com>
      Signed-off-by: default avatarSamuel Ortiz <samuel.ortiz@nokia.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      669d32a2
  9. Feb 17, 2006
  10. Feb 16, 2006
  11. Feb 13, 2006
  12. Feb 10, 2006
  13. Feb 08, 2006
Loading