1. 20 10月, 2016 1 次提交
  2. 23 9月, 2016 1 次提交
    • L
      Bluetooth: btwilink: Save the packet type before sending · acf91ec3
      Laura Abbott 提交于
      Running with KASAN produces some messages:
      
      BUG: KASAN: use-after-free in ti_st_send_frame+0x9c/0x16c at addr
      ffffffc064868fe8
      Read of size 1 by task kworker/u17:1/1266
      
      <KASAN output trimmed>
      
      Hardware name: HiKey Development Board (DT)
      Workqueue: hci0 hci_cmd_work
      Call trace:
      [<ffffffc00008c00c>] dump_backtrace+0x0/0x178
      [<ffffffc00008c1a4>] show_stack+0x20/0x28
      [<ffffffc00067da38>] dump_stack+0xa8/0xe0
      [<ffffffc000288430>] print_trailer+0x110/0x174
      [<ffffffc00028aedc>] object_err+0x4c/0x5c
      [<ffffffc00028f714>] kasan_report_error+0x254/0x54c
      [<ffffffc00028fa70>] kasan_report+0x64/0x70
      [<ffffffc00028eb8c>] __asan_load1+0x4c/0x54
      [<ffffffc000b59b24>] ti_st_send_frame+0x9c/0x16c
      [<ffffffc000ee8dcc>] hci_send_frame+0xb4/0x118
      [<ffffffc000ee8efc>] hci_cmd_work+0xcc/0x154
      [<ffffffc0000f6c48>] process_one_work+0x26c/0x7a4
      [<ffffffc0000f721c>] worker_thread+0x9c/0x73c
      [<ffffffc000100250>] kthread+0x138/0x154
      [<ffffffc000085c50>] ret_from_fork+0x10/0x40
      
      The packet is being accessed for statistics after it has been freed.
      Save the packet type before sending for statistics afterwards.
      Signed-off-by: NLaura Abbott <labbott@redhat.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      acf91ec3
  3. 18 7月, 2016 1 次提交
  4. 20 11月, 2015 1 次提交
  5. 05 10月, 2015 2 次提交
  6. 14 5月, 2015 1 次提交
  7. 20 10月, 2014 1 次提交
  8. 11 10月, 2013 2 次提交
  9. 09 9月, 2012 1 次提交
  10. 07 8月, 2012 1 次提交
  11. 13 2月, 2012 3 次提交
  12. 01 11月, 2011 1 次提交
  13. 18 9月, 2011 1 次提交
    • C
      Bluetooth: Fixed BT ST Channel reg order · 8be964d2
      Chen Ganir 提交于
      Reordered the BT ST channel registration, to make sure that the
      event channel is registered before all others. This prevents a
      situation where incoming events may cause kernel panic in the ST
      driver if the event channel is not yet registered to handle
      incoming events.In addition, the deregistration of the channels
      was also modified, to be in the reversed order of the registration,
      to allow the event channel to be the last one unregistered.
      Signed-off-by: NChen Ganir <chen.ganir@ti.com>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      8be964d2
  14. 24 2月, 2011 1 次提交
    • P
      Bluetooth: btwilink driver · 363907af
      Pavan Savoy 提交于
      This is the bluetooth protocol driver for the TI WiLink7 chipsets.
      Texas Instrument's WiLink chipsets combine wireless technologies
      like BT, FM, GPS and WLAN onto a single chip.
      
      This Bluetooth driver works on top of the TI_ST shared transport
      line discipline driver which also allows other drivers like
      FM V4L2 and GPS character driver to make use of the same UART interface.
      
      Kconfig and Makefile modifications to enable the Bluetooth
      driver for Texas Instrument's WiLink 7 chipset.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Acked-by: NGustavo F. Padovan <padovan@profusion.mobi>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      363907af
  15. 21 1月, 2011 1 次提交