aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/sco.c
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+26
2025-11-20Bluetooth: hci_core: lookup hci_conn on RX path on protocol sidePauli Virtanen1-9/+26
2025-11-04net: Convert proto_ops connect() callbacks to use sockaddr_unsizedKees Cook1-1/+1
2025-11-04net: Convert proto_ops bind() callbacks to use sockaddr_unsizedKees Cook1-1/+1
2025-09-27Bluetooth: SCO: Fix UAF on sco_conn_freeLuiz Augusto von Dentz1-0/+7
2025-06-23net: make sk->sk_sndtimeo locklessEric Dumazet1-2/+2
2025-03-25Bluetooth: SCO: add TX timestampingPauli Virtanen1-2/+17
2025-03-07Revert "Bluetooth: hci_core: Fix sleeping function called from invalid context"Luiz Augusto von Dentz1-6/+6
2025-03-07Bluetooth: SCO: fix sco_conn refcounting on sco_conn_readyPauli Virtanen1-1/+12
2024-12-12Bluetooth: SCO: Add support for 16 bits transparent voice settingFrédéric Danis1-14/+15
2024-12-12Bluetooth: hci_core: Fix sleeping function called from invalid contextLuiz Augusto von Dentz1-6/+6
2024-12-11Bluetooth: Improve setsockopt() handling of malformed user inputMichal Luczaj1-5/+6
2024-11-26Bluetooth: SCO: remove the redundant sco_conn_putEdward Adam Davis1-1/+1
2024-11-14Bluetooth: SCO: Use kref to track lifetime of sco_connLuiz Augusto von Dentz1-28/+71
2024-10-23Bluetooth: SCO: Fix UAF on sco_sock_timeoutLuiz Augusto von Dentz1-6/+12
2024-05-18Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linuxLinus Torvalds1-2/+2
2024-05-14Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()Sungwoo Kim1-3/+3
2024-05-13net: change proto and proto_ops accept typeJens Axboe1-2/+2
2024-05-03Bluetooth: Fix use-after-free bugs caused by sco_sock_timeoutDuoming Zhou1-0/+4
2024-04-24Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()Nathan Chancellor1-3/+4
2024-04-10Bluetooth: SCO: Fix not validating setsockopt user inputLuiz Augusto von Dentz1-13/+10
2024-03-06Bluetooth: hci_conn: Always use sk_timeo as conn_timeoutLuiz Augusto von Dentz1-1/+2
2023-08-21net: annotate data-races around sk->sk_lingertimeEric Dumazet1-1/+1
2023-08-11Bluetooth: af_bluetooth: Make BT_PKT_STATUS genericLuiz Augusto von Dentz1-18/+4
2023-08-11Bluetooth: Consolidate code around sk_alloc into a helper functionLuiz Augusto von Dentz1-9/+1
2023-07-20Bluetooth: SCO: fix sco_conn related locking and validity issuesPauli Virtanen1-11/+12
2023-04-10Bluetooth: SCO: Fix possible circular locking dependency sco_sock_getsockoptLuiz Augusto von Dentz1-7/+9
2023-04-10Bluetooth: SCO: Fix possible circular locking dependency on sco_connect_cfmLuiz Augusto von Dentz1-29/+40
2022-05-13Bluetooth: HCI: Add HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN quirkLuiz Augusto von Dentz1-1/+1
2022-05-13Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeoutYing Hsu1-8/+13
2021-09-21Bluetooth: SCO: Fix sco_send_frame returning skb->lenLuiz Augusto von Dentz1-4/+6
2021-09-21Bluetooth: Fix passing NULL to PTR_ERRLuiz Augusto von Dentz1-1/+1
2021-09-13Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsgLuiz Augusto von Dentz1-23/+11
2021-09-07Bluetooth: Add support for HCI_Enhanced_Setup_Synchronous_Connection commandKiran K1-1/+11
2021-09-07Bluetooth: Allow setting of codec for HFP offload use caseKiran K1-0/+60
2021-09-07Bluetooth: Allow querying of supported offload codecs over SCO socketKiran K1-0/+101
2021-09-03Bluetooth: fix init and cleanup of sco_conn.timeout_workDesmond Cheong Zhi Xi1-5/+4
2021-09-03Bluetooth: call sock_hold earlier in sco_conn_delDesmond Cheong Zhi Xi1-1/+2
2021-08-30Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()Takashi Iwai1-8/+16
2021-08-10Bluetooth: fix repeated calls to sco_sock_killDesmond Cheong Zhi Xi1-6/+1
2021-08-10Bluetooth: serialize calls to sco_sock_{set,clear}_timerDesmond Cheong Zhi Xi1-2/+2
2021-08-10Bluetooth: switch to lock_sock in SCODesmond Cheong Zhi Xi1-9/+9
2021-08-10Bluetooth: avoid circular locks in sco_sock_connectDesmond Cheong Zhi Xi1-23/+16
2021-08-10Bluetooth: schedule SCO timeouts with delayed_workDesmond Cheong Zhi Xi1-6/+29
2021-07-22Bluetooth: sco: prevent information leak in sco_conn_defer_accept()Dan Carpenter1-0/+5
2021-06-26Bluetooth: sco: Use the correct print formatKai Ye1-4/+4
2021-03-24Bluetooth: Remove trailing semicolon in macrosMeng Yu1-2/+2
2020-12-07Bluetooth: sco: Fix crash when using BT_SNDMTU/BT_RCVMTU optionWei Yongjun1-0/+5
2020-09-11Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTUJoseph Hwang1-0/+6
2020-07-31bluetooth: sco: Fix sockptr reference.David S. Miller1-1/+1
2020-07-31Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/...David S. Miller1-0/+32
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-3/+3
2020-06-12Bluetooth: Add support for BT_PKT_STATUS CMSG data for SCO connectionsAlain Michaud1-0/+32
2020-02-18Bluetooth: Fix crash when using new BT_PHY optionLuiz Augusto von Dentz1-1/+1
2020-02-14Bluetooth: Add BT_PHY socket optionLuiz Augusto von Dentz1-0/+13
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-0/+1
2019-04-12Bluetooth: Check address length before reading address fieldTetsuo Handa1-2/+2
2019-01-22Bluetooth: Fix locking in bt_accept_enqueue() for BH contextMatthias Kaehlcke1-1/+1
2018-12-19Bluetooth: Change to use DEFINE_SHOW_ATTRIBUTE macroYangtao Li1-11/+1
2018-07-16Bluetooth: avoid killing an already killed socketSudip Mukherjee1-1/+2
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-1/+1
2018-05-26net/bluetooth: convert to ->poll_maskChristoph Hellwig1-1/+1
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-3/+2
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-3/+3
2017-06-29Bluetooth: Add sockaddr length checks before accessing sa_family in bind and ...Mateusz Jurczyk1-4/+2
2017-03-09net: Work around lockdep limitation in sockets that use socketsDavid Howells1-1/+1
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2016-11-22Bluetooth: Fix using the correct source address typeJohan Hedberg1-1/+1
2015-12-15bluetooth: Validate socket address length in sco_sock_bind().David S. Miller1-0/+3
2015-10-27Bluetooth: Fix crash on fast disconnect of SCOKuba Pawlak1-0/+5
2015-10-26Bluetooth: Fix some obvious coding style issues in the SCO moduleMarcel Holtmann1-11/+19
2015-10-25Bluetooth: Fix locking issue during fast SCO reconnection.Kuba Pawlak1-0/+5
2015-10-25Bluetooth: Fix locking issue on SCO disconnectionKuba Pawlak1-0/+2
2015-10-25Bluetooth: Fix crash on SCO disconnectKuba Pawlak1-0/+2
2015-08-28Bluetooth: Make the function sco_conn_del have a return type of voidNicholas Krause1-3/+2
2015-06-09Bluetooth: Make l2cap_recv_acldata() and sco_recv_scodata() return voidArron Wang1-3/+2
2015-05-11net: Pass kern from net_proto_family.create to sk_allocEric W. Biederman1-4/+4
2015-03-07Bluetooth: fix sco_exit compile warningAlexander Aring1-1/+1
2015-03-02Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/...David S. Miller1-2/+19
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-5/+5
2015-02-19Bluetooth: Convert disconn_cfm to be triggered through hci_cbJohan Hedberg1-1/+5
2015-02-19Bluetooth: Convert connect_cfm to be triggered through hci_cbJohan Hedberg1-1/+14
2015-01-23Bluetooth: Fix nested sleepsPeter Hurley1-5/+3
2015-01-12Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_scoMarcel Holtmann1-0/+2
2014-11-24new helper: memcpy_from_msg()Al Viro1-1/+1
2014-07-17Bluetooth: never linger on process exitVladimir Davydov1-2/+4
2014-07-14Bluetooth: Remove sco_chan_get helper functionMarcel Holtmann1-11/+9
2014-07-13Bluetooth: Remove unneeded forward declaration of sco_chan_delMarcel Holtmann1-29/+27
2014-07-13Bluetooth: Remove unneeded forward declaration of __sco_chan_addMarcel Holtmann1-12/+11
2014-07-11Bluetooth: Move SCO timeout constants into net/bluetooth/sco.cMarcel Holtmann1-0/+3
2014-07-11Bluetooth: Move struct sco_conn into net/bluetooth/sco.cMarcel Holtmann1-0/+13
2014-07-11Bluetooth: Move struct sco_pinfo into net/bluetooth/sco.cMarcel Holtmann1-0/+12
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller1-1/+1
2014-03-12Bluetooth: Convert uses of __constant_<foo> to <foo>Joe Perches1-5/+5
2013-11-20net: rework recvmsg handler msg_name and msg_namelen logicHannes Frederic Sowa1-1/+0
2013-10-18Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfsMarcel Holtmann1-7/+6
2013-10-13Bluetooth: Store SCO address information in its own socket structureMarcel Holtmann1-18/+18
2013-10-13Bluetooth: Use SCO addresses from HCI connection directlyMarcel Holtmann1-12/+8
2013-08-21Bluetooth: Prevent transparent SCO on older devicesFrédéric Dalleau1-0/+6
2013-08-21Bluetooth: Parameters for outgoing SCO connectionsFrédéric Dalleau1-1/+1
2013-08-21Bluetooth: Use voice setting in deferred SCO connection requestFrédéric Dalleau1-5/+17
2013-08-21Bluetooth: Add Bluetooth socket voice optionFrédéric Dalleau1-1/+39
2013-08-21Bluetooth: Remove unused mask parameter in sco_conn_defer_acceptFrédéric Dalleau1-7/+3
2013-08-21Bluetooth: Use hci_connect_sco directlyFrédéric Dalleau1-2/+1
2013-08-21Bluetooth: Fix getting SCO socket options in deferred stateJohan Hedberg1-2/+6
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-04-24Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville1-7/+42
2013-04-18Bluetooth: Move and rename hci_conn_acceptFrédéric Dalleau1-1/+37
2013-04-11Bluetooth: Minor coding style fixClaudio Takahasi1-2/+1
2013-04-11Bluetooth: Use GFP_KERNEL in sco_conn_addClaudio Takahasi1-1/+1
2013-04-11Bluetooth: rename hci_conn_put to hci_conn_dropDavid Herrmann1-3/+3
2013-04-10Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville1-2/+1
2013-04-09bluetooth: kill unused 'module' argument of bt_procfs_init()Al Viro1-1/+1
2013-04-07Bluetooth: SCO - Fix missing msg_namelen update in sco_sock_recvmsg()Mathias Krause1-0/+1
2013-03-29Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville1-0/+1
2013-03-18Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/blueto...John W. Linville1-0/+1
2013-03-14Bluetooth: Fix not closing SCO sockets in the BT_CONNECT2 stateVinicius Costa Gomes1-0/+1
2013-03-08Bluetooth: discard bt_sock_unregister() errorsDavid Herrmann1-2/+1
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-9/+5
2013-02-01Bluetooth: Reduce critical section in sco_conn_readyAndre Guedes1-8/+10
2013-01-10Bluetooth: Check if the hci connection exists in SCO shutdownGustavo Padovan1-1/+1
2012-12-03Revert "Bluetooth: Fix possible deadlock in SCO code"Gustavo Padovan1-9/+10
2012-12-03Bluetooth: Implement deferred sco socket setupFrédéric Dalleau1-3/+32
2012-12-03Bluetooth: Add BT_DEFER_SETUP option to sco socketFrédéric Dalleau1-0/+32
2012-09-27Bluetooth: Use %pMR in sprintf/seq_printf instead of batostrAndrei Emeltchenko1-2/+2
2012-09-27Bluetooth: Use %pMR in debug instead of batostrAndrei Emeltchenko1-4/+4
2012-09-07Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville1-10/+9
2012-08-06Bluetooth: Fix possible deadlock in SCO codeGustavo Padovan1-10/+9
2012-08-06Bluetooth: Added /proc/net/sco via bt_procfs_init()Masatake YAMATO1-0/+9
2012-08-06Bluetooth: Make connect / disconnect cfm functions return voidAndrei Emeltchenko1-5/+2
2012-06-05Bluetooth: Remove unnecessary headers includeGustavo Padovan1-18/+0
2012-06-05Bluetooth: Remove 'register' usage from the subsystemGustavo Padovan1-1/+1
2012-06-05Bluetooth: Remove most of the inline usageGustavo Padovan1-4/+5
2012-06-05Bluetooth: Fix coding style in sco.cGustavo Padovan1-7/+7
2012-05-09Bluetooth: Add dst_type parameter to hci_connectAndre Guedes1-1/+2
2012-05-09Bluetooth: Restrict to one SCO listening socketMarcel Holtmann1-7/+22
2012-05-09Bluetooth: Don't check source address in SCO bind functionMarcel Holtmann1-10/+6
2012-05-09Bluetooth: Remove not needed status parameterLukasz Rymanowski1-4/+4
2012-05-09Bluetooth: Split error handling for SCO listen socketsMarcel Holtmann1-1/+6
2012-05-09Bluetooth: remove unneeded declaration of sco_conn_del()Gustavo Padovan1-2/+0
2012-05-09Bluetooth: Remove unnecessary checkMikel Astiz1-6/+4
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-01-10Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padova...John W. Linville1-4/+4
2012-01-03Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville1-36/+6
2012-01-02Bluetooth: Remove *_bh locks from SCOGustavo F. Padovan1-4/+4
2011-12-22Bluetooth: Make HCI call directly into SCO and L2CAP event functionsUlisses Furquim1-34/+4
2011-12-19module_param: make bool parameters really bool (net & drivers/net)Rusty Russell1-1/+1
2011-12-18Bluetooth: Replace spin_lock by mutex in hci_devGustavo F. Padovan1-2/+2
2011-10-18bluetooth: Properly clone LSM attributes to newly created child connectionsPaul Moore1-1/+4
2011-08-11Bluetooth: sco: Fix lost wakeups waiting to accept socketPeter Hurley1-14/+14
2011-06-30Bluetooth: Rename function bt_err to bt_to_errnoJoe Perches1-2/+2
2011-06-09Bluetooth: fix shutdown on SCO socketsLuiz Augusto von Dentz1-1/+12
2011-05-11Revert "Bluetooth: fix shutdown on SCO sockets"Linus Torvalds1-9/+0
2011-04-18Bluetooth: fix shutdown on SCO socketsLuiz Augusto von Dentz1-0/+9
2011-02-27Bluetooth: Use ERR_PTR as return error from hci_connectVille Tervo1-3/+4
2011-02-14Bluetooth: Merge L2CAP and SCO modules into bluetooth.koGustavo F. Padovan1-14/+2
2011-02-14Bluetooth: sco: fix information leak to userspaceVasiliy Kulikov1-0/+1
2010-12-01Bluetooth: clean up sco codeAndrei Emeltchenko1-9/+13
2010-11-22Bluetooth: Fix not returning proper error in SCOGustavo F. Padovan1-3/+3
2010-05-17net: Remove unnecessary returns from void function()sJoe Perches1-1/+0
2010-05-10Bluetooth: Trivial clean ups to SCOGustavo F. Padovan1-12/+11
2010-05-10Bluetooth: Make hci_send_sco() voidGustavo F. Padovan1-2/+1
2010-04-20net: sk_sleep() helperEric Dumazet1-2/+2
2010-04-01net: check the length of the socket address passed to connect(2)Changli Gao1-1/+2
2010-03-21Bluetooth: Convert debug files to actually use debugfs instead of sysfsMarcel Holtmann1-21/+26
2010-03-21Bluetooth: Fix potential bad memory access with sysfs filesMarcel Holtmann1-1/+10
2010-03-07driver-core: Add attribute argument to class_attribute show/storeAndi Kleen1-1/+3
2009-11-05net: pass kern to net_proto_family create functionEric Paris1-1/+2
2009-10-07net: mark net_proto_ops as constStephen Hemminger1-1/+1
2009-09-30net: Make setsockopt() optlen be unsigned.David S. Miller1-1/+1
2009-08-22Bluetooth: Add proper shutdown support to SCO socketsMarcel Holtmann1-15/+34
2009-02-27Bluetooth: Ask upper layers for HCI disconnect reasonMarcel Holtmann1-2/+2
2009-02-27Bluetooth: Add enhanced security model for Simple PairingMarcel Holtmann1-1/+1
2009-02-27Bluetooth: Reject incoming SCO connections without listenersMarcel Holtmann1-2/+22
2009-02-27Bluetooth: Preparation for usage of SOL_BLUETOOTHMarcel Holtmann1-1/+26
2008-11-30Bluetooth: Enable per-module dynamic debug messagesMarcel Holtmann1-5/+0
2008-09-09[Bluetooth] Enforce correct authentication requirementsMarcel Holtmann1-1/+1
2008-08-18[Bluetooth] Consolidate maintainers informationMarcel Holtmann1-1/+1
2008-07-14[Bluetooth] Add option to disable eSCO connection creationMarcel Holtmann1-2/+10
2008-07-14[Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCOMarcel Holtmann1-1/+1
2008-04-02Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/...David S. Miller1-1/+1
2008-03-28bluetooth: replace deprecated RW_LOCK_UNLOCKED macrosRobert P. J. Day1-1/+1
2008-03-26[NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-1/+1
2008-01-28[NET]: Convert init_timer into setup_timerPavel Emelyanov1-8/+1
2007-11-01[NET]: Forget the zero_it argument of sk_alloc()Pavel Emelyanov1-1/+1
2007-10-22[Bluetooth] Add support for handling simple eSCO linksMarcel Holtmann1-4/+8
2007-10-10[NET]: Make socket creation namespace safe.Eric W. Biederman1-5/+5
2007-04-25[NET]: cleanup extra semicolonsStephen Hemminger1-1/+1
2007-02-10[NET] BLUETOOTH: Fix whitespace errors.YOSHIFUJI Hideaki1-15/+15
2006-10-15[Bluetooth] Add locking for bt_proto array manipulationMarcel Holtmann1-1/+2
2006-10-15[Bluetooth] Handle return values from driver core functionsMarcel Holtmann1-1/+2
2006-07-12[Bluetooth] Remaining transitions to use kzalloc()Marcel Holtmann1-7/+5
2006-07-03[Bluetooth] Use real devices for host controllersMarcel Holtmann1-2/+2
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-04-09[BLUETOOTH] sco: Possible double free.Eric Sesterhenn1-1/+1
2006-01-03[NET]: move struct proto_ops to constEric Dumazet1-2/+2
2006-01-03[NET]: Avoid atomic xchg() for non-error caseBenjamin LaHaise1-2/+3
2005-11-08[Bluetooth]: Remove the usage of /proc completelyMarcel Holtmann1-79/+13
2005-10-08[PATCH] gfp flags annotations - part 1Al Viro1-1/+1
2005-08-29[Bluetooth]: Fix sparse warnings (__nocast type)Victor Fusco1-1/+1