1. 26 11月, 2013 1 次提交
    • J
      USB: serial: fix race in generic write · 6f648546
      Johan Hovold 提交于
      Fix race in generic write implementation, which could lead to
      temporarily degraded throughput.
      
      The current generic write implementation introduced by commit
      27c7acf2 ("USB: serial: reimplement generic fifo-based writes") has
      always had this bug, although it's fairly hard to trigger and the
      consequences are not likely to be noticed.
      
      Specifically, a write() on one CPU while the completion handler is
      running on another could result in only one of the two write urbs being
      utilised to empty the remainder of the write fifo (unless there is a
      second write() that doesn't race during that time).
      
      Cc: stable <stable@vger.kernel.org> # 2.6.35
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6f648546
  2. 15 11月, 2013 2 次提交
  3. 02 11月, 2013 13 次提交
  4. 31 10月, 2013 11 次提交
  5. 30 10月, 2013 12 次提交
  6. 25 10月, 2013 1 次提交