1. 13 10月, 2013 14 次提交
  2. 12 10月, 2013 11 次提交
  3. 11 10月, 2013 13 次提交
  4. 10 10月, 2013 2 次提交
    • J
      Bluetooth: Fix potential double-frees of L2CAP skbs · c4e5bafa
      Johan Hedberg 提交于
      The l2cap_recv_frame function is expected to take ownership and
      eventually free the skb passed to it. We need to ensure that the
      conn->rx_skb pointer is no longer reachable when calling
      l2cap_recv_frame so that no other function, such as l2cap_conn_del, may
      think that it can free conn->rx_skb.
      
      An actual situation when this can happen is when smp_sig_channel (called
      from l2cap_recv_frame) fails and l2cap_conn_del gets called as a
      consequence. The l2cap_conn_del function would then try to free
      conn->rx_skb, but as the same skb was just passed to smp_sig_channel and
      freed we get a double-free.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      c4e5bafa
    • M
      Bluetooth: Restrict high speed support to SSP enabled controllers · 9ecb3e24
      Marcel Holtmann 提交于
      The support for Bluetooth High Speed can only be enabled on controllers
      where also Secure Simple Pairing has been enabled. Trying to enable
      high speed when SSP is disabled will result into an error. Disabling
      SSP will at the same time disable high speed as well.
      
      It is required to enforce this dependency on SSP since high speed
      support is only defined for authenticated, unauthenticated and
      debug link keys. These link key types require SSP.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      9ecb3e24