aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_core.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-14Bluetooth: HCI: Remove HCI_AMP supportLuiz Augusto von Dentz1-17/+4
2024-05-14Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()Sungwoo Kim1-14/+3
2024-05-14Bluetooth: compute LE flow credits based on recvbuf spaceSebastian Urban1-7/+49
2024-05-14Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warningsGustavo A. R. Silva1-25/+21
2024-05-03Bluetooth: l2cap: fix null-ptr-deref in l2cap_chan_timeoutDuoming Zhou1-0/+3
2024-05-03Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect()Sungwoo Kim1-11/+10
2024-04-24Bluetooth: hci_sync: Use advertised PHYs on hci_le_ext_create_conn_syncLuiz Augusto von Dentz1-1/+1
2024-04-10Bluetooth: l2cap: Don't double set the HCI_CONN_MGMT_CONNECTED bitArchie Pusaka1-2/+1
2024-03-06Bluetooth: hci_conn: Always use sk_timeo as conn_timeoutLuiz Augusto von Dentz1-6/+4
2024-03-06Bluetooth: Remove BT_HSLuiz Augusto von Dentz1-1051/+18
2024-02-28Bluetooth: Enforce validation on max value of connection intervalKai-Heng Feng1-1/+7
2023-12-22Bluetooth: L2CAP: Fix possible multiple reject sendFrédéric Danis1-1/+2
2023-12-15Bluetooth: L2CAP: Send reject on command corrupted requestFrédéric Danis1-6/+15
2023-06-29Bluetooth: L2CAP: Fix use-after-freeZhengping Jiang1-0/+5
2023-06-05Bluetooth: L2CAP: Add missing checks for invalid DCIDSungwoo Kim1-0/+9
2023-06-05Bluetooth: Fix l2cap_disconnect_req deadlockYing Hsu1-0/+4
2023-04-23Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rspMin Li1-1/+0
2023-04-23Bluetooth: L2CAP: Delay identity address updatesLuiz Augusto von Dentz1-4/+3
2023-04-10Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}Luiz Augusto von Dentz1-18/+6
2023-03-23Bluetooth: L2CAP: Fix responding with wrong PDU typeLuiz Augusto von Dentz1-38/+79
2023-02-09Bluetooth: L2CAP: Fix potential user-after-freeLuiz Augusto von Dentz1-24/+0
2022-12-12Bluetooth: Add CONFIG_BT_LE_L2CAP_ECREDLuiz Augusto von Dentz1-1/+1
2022-12-02Bluetooth: L2CAP: Fix u8 overflowSungwoo Kim1-1/+2
2022-11-02Bluetooth: L2CAP: Fix attempting to access uninitialized memoryLuiz Augusto von Dentz1-1/+2
2022-11-02Bluetooth: L2CAP: Fix l2cap_global_chan_by_psmLuiz Augusto von Dentz1-1/+1
2022-11-02Bluetooth: L2CAP: Fix accepting connection request for invalid SPSMLuiz Augusto von Dentz1-0/+25
2022-11-02Bluetooth: L2CAP: Fix memory leak in vhci_writeHawkins Jiawei1-4/+3
2022-11-02Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()Zhengchao Shao1-0/+1
2022-11-02Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sduMaxim Mikityanskiy1-7/+41
2022-09-29Bluetooth: L2CAP: Fix user-after-freeLuiz Augusto von Dentz1-0/+7
2022-09-19Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()Tetsuo Handa1-4/+6
2022-08-25Bluetooth: L2CAP: Fix build errors in some archsLuiz Augusto von Dentz1-5/+5
2022-08-08Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regressionLuiz Augusto von Dentz1-7/+6
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-13/+48
2022-07-26Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_putLuiz Augusto von Dentz1-13/+48
2022-07-21Bluetooth: use memset avoid memory leaksXiaohui Zhang1-0/+1
2022-03-18Bluetooth: Don't assign twice the same valueChristophe JAILLET1-1/+0
2022-03-04Bluetooth: use memset avoid memory leaksMinghao Chi (CGEL ZTE)1-0/+1
2021-12-22Bluetooth: hci_sync: Add hci_le_create_conn_syncLuiz Augusto von Dentz1-1/+1
2021-08-30Bluetooth: Fix using RPA when address has been resolvedLuiz Augusto von Dentz1-1/+1
2021-06-26Bluetooth: use inclusive language when filtering devicesArchie Pusaka1-2/+2
2021-06-26Bluetooth: use inclusive language in HCI role commentsArchie Pusaka1-1/+1
2021-06-26Bluetooth: L2CAP: Fix invalid access on ECRED Connection responseLuiz Augusto von Dentz1-2/+2
2021-06-26Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure failsLuiz Augusto von Dentz1-2/+2
2021-06-26Bluetooth: Return whether a connection is outboundYu Liu1-1/+1
2021-04-06Bluetooth: use the correct print format for L2CAP debug statementsKai Ye1-8/+8
2021-04-02Bluetooth: Coding style fixMeng Yu1-2/+3
2021-04-02Bluetooth: Remove 'return' in void functionMeng Yu1-2/+0
2021-03-25Bluetooth: L2CAP: Rudimentary typo fixesBhaskar Chowdhury1-2/+2
2021-03-22Bluetooth: initialize skb_queue_head at l2cap_chan_create()Tetsuo Handa1-0/+2
2021-03-22Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan defaultArchie Pusaka1-0/+2
2021-03-15Bluetooth: L2CAP: Fix not checking for maximum number of DCIDLuiz Augusto von Dentz1-3/+9
2021-01-25Bluetooth: L2CAP: Try harder to accept device not knowing optionsBastien Nocera1-0/+1
2021-01-25Bluetooth: L2CAP: Fix handling fragmented lengthLuiz Augusto von Dentz1-25/+93
2020-12-07Bluetooth: Fix for Bluetooth SIG test L2CAP/COS/CFD/BV-14-CJimmy Wahlberg1-1/+1
2020-11-11Bluetooth: Enforce key size of 16 bytes on FIPS levelArchie Pusaka1-1/+7
2020-09-25Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channelLuiz Augusto von Dentz1-3/+4
2020-07-10Bluetooth: core: Use fallthrough pseudo-keywordGustavo A. R. Silva1-10/+9
2020-06-18Bluetooth: Terminate the link if pairing is cancelledManish Mandlik1-2/+4
2020-05-11Bluetooth: L2CAP: Fix errors during L2CAP_CREDIT_BASED_CONNECTION_REQ (0x17)Konstantin Forostyan1-2/+2
2020-03-25Bluetooth: L2CAP: Use DEFER_SETUP to group ECRED connectionsLuiz Augusto von Dentz1-10/+127
2020-03-14Bluetooth: L2CAP: remove set but not used variable 'credits'YueHaibing1-2/+1
2020-03-12Bluetooth: L2CAP: handle l2cap config request during open stateHoward Chung1-1/+2
2020-03-08Bluetooth: L2CAP: Add module option to enable ECRED modeLuiz Augusto von Dentz1-0/+15
2020-03-08Bluetooth: L2CAP: Add initial code for Enhanced Credit Based ModeLuiz Augusto von Dentz1-16/+529
2020-03-08Bluetooth: Make use of skb_pull to parse L2CAP signaling PDUsLuiz Augusto von Dentz1-16/+13
2020-01-29Bluetooth: Fix refcount use-after-free issueManish Mandlik1-11/+15
2020-01-08Bluetooth: remove redundant assignment to variable icidColin Ian King1-1/+0
2020-01-04Bluetooth: Auto tune if input MTU is set to 0Luiz Augusto von Dentz1-2/+52
2019-11-19Bluetooth: delete a stray unlockDan Carpenter1-3/+1
2019-09-05Revert "Bluetooth: validate BLE connection interval updates"Marcel Holtmann1-8/+1
2019-08-17Bluetooth: Add debug setting for changing minimum encryption key sizeMarcel Holtmann1-1/+1
2019-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-4/+25
2019-07-06Bluetooth: L2CAP: Check bearer type on __l2cap_global_chan_by_addrLuiz Augusto von Dentz1-3/+11
2019-07-06Bluetooth: validate BLE connection interval updatescsonsino1-1/+8
2019-07-06Bluetooth: Check state in l2cap_disconnect_rspMatias Karhumaa1-0/+6
2019-07-03Bluetooth: Fix faulty expression for minimum encryption key size checkMatias Karhumaa1-1/+1
2019-06-22Bluetooth: Fix regression with minimum encryption key size alignmentMarcel Holtmann1-5/+28
2019-04-23Bluetooth: Fix not initializing L2CAP tx_creditsLuiz Augusto von Dentz1-5/+4
2019-01-23Bluetooth: Mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2019-01-23Bluetooth: Verify that l2cap_get_conf_opt provides large enough bufferMarcel Holtmann1-0/+6
2019-01-23Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_optMarcel Holtmann1-31/+46
2018-12-19Bluetooth: Change to use DEFINE_SHOW_ATTRIBUTE macroYangtao Li1-11/+1
2018-10-14Bluetooth: Errata Service Release 8, Erratum 3253Mallikarjun Phulari1-1/+9
2018-10-14Bluetooth: Use separate L2CAP LE credit based connection result valuesMallikarjun Phulari1-13/+13
2018-09-27Bluetooth: L2CAP: Detect if remote is not able to use the whole MPSLuiz Augusto von Dentz1-0/+10
2018-09-27Bluetooth: L2CAP: Derive rx credits from MTU and MPSLuiz Augusto von Dentz1-15/+27
2018-09-27Bluetooth: L2CAP: Derive MPS from connection MTULuiz Augusto von Dentz1-7/+7
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-04-03Bluetooth: Fix connection if directed advertising and privacy is usedSzymon Janc1-1/+1
2018-01-04Bluetooth: Prevent stack info leak from the EFS element.Ben Seri1-9/+11
2017-09-09Bluetooth: Properly check L2CAP config option output buffer lengthBen Seri1-37/+43
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg1-7/+7
2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-2/+2
2017-04-12Bluetooth: L2CAP: Add l2cap_le_flowctl_sendLuiz Augusto von Dentz1-8/+19
2017-04-12Bluetooth: L2CAP: Don't return -EAGAIN if out of creditsLuiz Augusto von Dentz1-3/+0
2017-01-14locking/atomic, kref: Add kref_read()Peter Zijlstra1-2/+2
2016-12-05[iov_iter] new primitives - copy_from_iter_full() and friendsAl Viro1-3/+3
2016-11-22Bluetooth: Fix using the correct source address typeJohan Hedberg1-1/+1
2016-08-24Bluetooth: split sk_filter in l2cap_sock_recv_cbDaniel Borkmann1-0/+8
2016-07-09Bluetooth: Rename HCI_BREDR into HCI_PRIMARYMarcel Holtmann1-1/+1
2016-01-29Bluetooth: L2CAP: Fix auto-allocating LE PSM valuesJohan Hedberg1-2/+12
2015-11-19Bluetooth: remove unneeded variable in l2cap_stream_rxPrasanna Karthik1-3/+1
2015-11-19Bluetooth: Fix specifying role for LE connectionsJohan Hedberg1-8/+7
2015-11-05Bluetooth: L2CAP: Add missing checks for invalid LE DCIDJohan Hedberg1-1/+8
2015-11-05Bluetooth: L2CAP: Fix checked range when allocating new CIDJohan Hedberg1-1/+1
2015-11-05Bluetooth: L2CAP: Fix returning correct LE CoC response codesJohan Hedberg1-1/+8
2015-08-10Bluetooth: Enable new connection establishment procedure.Jakub Pawlowski1-2/+4
2015-06-30Bluetooth: Reinitialize the list after deletion for session user listTedd Ho-Jeong An1-2/+2
2015-06-11Bluetooth: Stop sabotaging list poisoningAlexey Dobriyan1-6/+2
2015-06-09Bluetooth: Make l2cap_recv_acldata() and sco_recv_scodata() return voidArron Wang1-3/+2
2015-03-30Bluetooth: Refactor L2CAP variables into l2cap_ctrlJohan Hedberg1-24/+24
2015-03-13Bluetooth: Merge hdev->dbg_flags fields into hdev->dev_flagsMarcel Holtmann1-1/+1
2015-03-13Bluetooth: Introduce hci_dev_test_flag helper macroMarcel Holtmann1-4/+4
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/+5
2015-02-19Bluetooth: Convert L2CAP security callback to use hci_cbJohan Hedberg1-4/+10
2015-02-16Bluetooth: Fix accepting early data on fixed channelsJohan Hedberg1-0/+14
2015-01-15Bluetooth: Fix lookup of fixed channels by local bdaddrJohan Hedberg1-8/+7
2015-01-15Bluetooth: Add helpers for src/dst bdaddr type conversionJohan Hedberg1-12/+22
2015-01-15Bluetooth: Show device address type for L2CAP debugfs entriesMarcel Holtmann1-2/+2
2015-01-02Bluetooth: Introduce force_bredr_smp debugfs option for testingMarcel Holtmann1-1/+1
2014-12-15Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/...John W. Linville1-2/+3
2014-12-10Merge branch 'for-davem-2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...David S. Miller1-4/+3
2014-12-09first fruits - kill l2cap ->memcpy_fromiovec()Al Viro1-4/+3
2014-12-09switch l2cap ->memcpy_fromiovec() to msghdrAl Viro1-2/+2
2014-12-06Bluetooth: Check for force_lesc_support when enabling SMP over BR/EDRMarcel Holtmann1-2/+3
2014-12-03Bluetooth: Add full SMP BR/EDR supportJohan Hedberg1-0/+4
2014-12-02Bluetooth: Track both local and remote L2CAP fixed channel maskJohan Hedberg1-19/+18
2014-11-27Bluetooth: Automatically flushable packets aren't allowed on LE linksSteven Walter1-3/+11
2014-11-15Bluetooth: Add debug logs to help track locking issuesJohan Hedberg1-1/+2
2014-11-15Bluetooth: Trigger SMP for the appropriate LE CoC errorsJohan Hedberg1-1/+22
2014-11-15Bluetooth: Add key preference parameter to smp_sufficient_securityJohan Hedberg1-1/+2
2014-11-15Bluetooth: Fix sending incorrect LE CoC PDU in BT_CONNECT2 stateJohan Hedberg1-1/+2
2014-11-13Bluetooth: Fix L2CAP nesting level initialization locationJohan Hedberg1-0/+3
2014-10-28Bluetooth: spelling fixesStephen Hemminger1-1/+1
2014-10-25Bluetooth: Fix missing channel unlock in l2cap_le_creditsMartin Townsend1-0/+1
2014-10-25Bluetooth: Refactor arguments of mgmt_device_connectedAlfonso Acosta1-3/+1
2014-10-02Bluetooth: Fix lockdep warning with l2cap_chan_connectJohan Hedberg1-5/+8
2014-09-11Bluetooth: Fix L2CAP information request handling for fixed channelsJohan Hedberg1-20/+33
2014-09-08Bluetooth: Move identity address update behind a workqueueJohan Hedberg1-2/+8
2014-09-08Bluetooth: Add clarifying comment for LE CoC result valueJohan Hedberg1-0/+5
2014-09-08Bluetooth: Remove unused l2cap_conn_shutdown APIJohan Hedberg1-25/+0
2014-09-08Bluetooth: Set discon_timeout to 0 in l2cap_conn_delJohan Hedberg1-0/+3
2014-09-08Bluetooth: Improve *_get() functions to return the object typeJohan Hedberg1-3/+3
2014-09-08Bluetooth: Fix hci_conn reference counting for fixed channelsJohan Hedberg1-2/+10
2014-09-08Bluetooth: Remove unnecessary l2cap_chan_unlock before l2cap_chan_addJohan Hedberg1-2/+0
2014-09-08Bluetooth: Fix incorrect LE CoC PDU length restriction based on HCI MTUJohan Hedberg1-5/+1
2014-08-14Bluetooth: Fix ERTM L2CAP resend packetLukasz Rymanowski1-3/+5
2014-08-14Bluetooth: Improve data packing in SAR modeLukasz Rymanowski1-4/+1
2014-08-14Bluetooth: Remove unused l2cap_conn->security_timerJohan Hedberg1-17/+1
2014-08-14Bluetooth: Add public l2cap_conn_shutdown() API to request disconnectionJohan Hedberg1-0/+25
2014-08-14Bluetooth: Use L2CAP resume callback to call smp_distribute_keysJohan Hedberg1-6/+0
2014-08-14Bluetooth: Convert SMP to use l2cap_chan infrastructureJohan Hedberg1-10/+0
2014-08-14Bluetooth: Call l2cap_le_conn_ready after notifying channelsJohan Hedberg1-3/+3
2014-08-14Bluetooth: Call L2CAP teardown callback before clearing chan->connJohan Hedberg1-2/+2
2014-08-14Bluetooth: Move parts of fixed channel initialization to l2cap_add_scidJohan Hedberg1-0/+4
2014-08-14Bluetooth: Remove special ATT data channel handlingJohan Hedberg1-79/+0
2014-08-14Bluetooth: Improve fixed channel lookup based on link typeJohan Hedberg1-3/+8
2014-08-14Bluetooth: Move L2CAP fixed channel creation into l2cap_conn_cfmJohan Hedberg1-44/+80
2014-08-14Bluetooth: Refactor l2cap_connect_cfmJohan Hedberg1-5/+8
2014-08-14Bluetooth: Remove special handling of ATT in l2cap_security_cfm()Johan Hedberg1-9/+2
2014-08-14Bluetooth: Fix __l2cap_no_conn_pending() usage with all channelsJohan Hedberg1-0/+3
2014-08-14Bluetooth: Fix reference counting of global L2CAP channelsJohan Hedberg1-8/+28
2014-07-21Bluetooth: Prefer sizeof(*ptr) when allocating memoryJohan Hedberg1-1/+1
2014-07-18Bluetooth: Use EOPNOTSUPP instead of ENOTSUPPJohan Hedberg1-1/+1
2014-07-17Bluetooth: Pass initiator/acceptor information to hci_conn_security()Johan Hedberg1-7/+8
2014-07-16Bluetooth: Use explicit role instead of a bool in function parametersJohan Hedberg1-3/+6
2014-07-16Bluetooth: Convert HCI_CONN_MASTER flag to a conn->role variableJohan Hedberg1-2/+2
2014-07-13Bluetooth: Convert L2CAP ident spinlock into a mutexMarcel Holtmann1-3/+3
2014-07-11Bluetooth: Update the list of L2CAP fixed channelsMarcel Holtmann1-1/+1
2014-07-09Bluetooth: Don't send ERTM configuration option when disabledMarcel Holtmann1-0/+3
2014-07-09Bluetooth: Unify helpers for bdaddr_list manipulationsJohan Hedberg1-3/+4
2014-07-07Bluetooth: Pass desired connection role to hci_connect_le()Johan Hedberg1-1/+5
2014-07-07Bluetooth: Remove auth_type parameter from hci_connect_le()Johan Hedberg1-4/+2
2014-07-06Bluetooth: Use lower timeout for LE auto-connectionsJohan Hedberg1-1/+1
2014-07-06Bluetooth: Restrict blocked device check in l2cap_recv_frame to LEJohan Hedberg1-1/+5
2014-07-03Bluetooth: Pass store hint to mgmt_new_conn_paramJohan Hedberg1-2/+6
2014-07-03Bluetooth: Centralize looking up blocked devices to l2cap_recv_frameJohan Hedberg1-3/+6
2014-07-03Bluetooth: Introduce "New Connection Parameter" EventAndre Guedes1-1/+5
2014-07-03Bluetooth: Connection parameters check helperAndre Guedes1-22/+1
2014-07-03Bluetooth: Convert hci_conn->link_mode into flagsJohan Hedberg1-2/+2
2014-07-03Bluetooth: Add support LE slave connection update procedureMarcel Holtmann1-0/+19
2014-07-03Bluetooth: 6LoWPAN: Use connected oriented channel instead of fixed oneJukka Rissanen1-12/+8
2014-07-03Bluetooth: Provide L2CAP ops callback for memcpy_fromiovecJukka Rissanen1-2/+4
2014-07-03Bluetooth: Use explicit header and body length for L2CAP SKB allocationMarcel Holtmann1-5/+5
2014-07-03Bluetooth: Assign L2CAP socket priority when allocating SKBMarcel Holtmann1-16/+7
2014-06-13Bluetooth: Fix deadlock in l2cap_conn_del()Jukka Taimisto1-1/+7
2014-06-05Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/...John W. Linville1-0/+6
2014-05-30Bluetooth: l2cap: Set more channel defaultsJukka Rissanen1-0/+6
2014-05-14Bluetooth: Fix L2CAP LE debugfs entries permissionsSamuel Ortiz1-2/+2
2014-03-12Bluetooth: Convert uses of __constant_<foo> to <foo>Joe Perches1-45/+45
2014-02-26Bluetooth: Move address type conversion to outside hci_connect_leAndre Guedes1-2/+10
2014-02-26Bluetooth: Refactor HCI connection codeAndre Guedes1-4/+3
2014-02-26Bluetooth: Remove unneeded "force" parameter from smp_distribute_keys()Johan Hedberg1-1/+1
2014-02-25Bluetooth: Fix NULL pointer dereference when sending dataAndrzej Kaczmarek1-0/+16
2014-02-18Bluetooth: Print error when dropping L2CAP dataSzymon Janc1-1/+3
2014-02-18Bluetooth: Fix updating Identity Address in L2CAP channelsJohan Hedberg1-0/+17
2014-02-14Bluetooth: Enable LE L2CAP CoC support by defaultJohan Hedberg1-11/+0
2014-02-13Bluetooth: Remove unnecessary check for chan->psmJohan Hedberg1-4/+1