1. 16 Jul, 2011 2 commits
    • Ilia Kolomisnky's avatar
      Bluetooth: Fix crash with incoming L2CAP connections · 05e9a2f6
      Ilia Kolomisnky authored
      Another regression fix considering incomming l2cap connections with
      defer_setup enabled. In situations when incomming connection is
      extracted with l2cap_sock_accept, it's bt_sock info will have
      'parent' member zerroed, but 'parent' may be used unconditionally
      in l2cap_conn_start() and l2cap_security_cfm() when defer_setup
      is enabled.
      
      Backtrace:
      [<bf02d5ac>] (l2cap_security_cfm+0x0/0x2ac [bluetooth]) from [<bf01f01c>] (hci_event_pac
      ket+0xc2c/0x4aa4 [bluetooth])
      [<bf01e3f0>] (hci_event_packet+0x0/0x4aa4 [bluetooth]) from [<bf01a844>] (hci_rx_task+0x
      cc/0x27c [bluetooth])
      [<bf01a778>] (hci_rx_task+0x0/0x27c [bluetooth]) from [<c008eee4>] (tasklet_action+0xa0/
      0x15c)
      [<c008ee44>] (tasklet_action+0x0/0x15c) from [<c008f38c>] (__do_softirq+0x98/0x130)
       r7:00000101 r6:00000018 r5:00000001 r4:efc46000
      [<c008f2f4>] (__do_softirq+0x0/0x130) from [<c008f524>] (do_softirq+0x4c/0x58)
      [<c008f4d8>] (do_softirq+0x0/0x58) from [<c008f5e0>] (run_ksoftirqd+0xb0/0x1b4)
       r4:efc46000 r3:00000001
      [<c008f530>] (run_ksoftirqd+0x0/0x1b4) from [<c009f2a8>] (kthread+0x84/0x8c)
       r7:00000000 r6:c008f530 r5:efc47fc4 r4:efc41f08
      [<c009f224>] (kthread+0x0/0x8c) from [<c008cc84>] (do_exit+0x0/0x5f0)
      Signed-off-by: default avatarIlia Kolomisnky <iliak@ti.com>
      Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      05e9a2f6
    • Gustavo F. Padovan's avatar
      Bluetooth: Fix regression in L2CAP connection procedure · 9191e6ad
      Gustavo F. Padovan authored
      Caused by the following commit, partially revert it.
      
      commit 9fa7e4f7
      Author: Gustavo F. Padovan <padovan@profusion.mobi>
      Date:   Thu Jun 30 16:11:30 2011 -0300
      
          Bluetooth: Fix regression with incoming L2CAP connections
      
          PTS test A2DP/SRC/SRC_SET/TC_SRC_SET_BV_02_I revealed that
          ( probably after the df3c3931 commit ) the l2cap connection
          could not be established in case when the "Auth Complete" HCI
          event does not arive before the initiator send "Configuration
          request", in which case l2cap replies with "Command rejected"
          since the channel is still in BT_CONNECT2 state.
      Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9191e6ad
  2. 15 Jul, 2011 2 commits
  3. 14 Jul, 2011 2 commits
    • Michał Mirosław's avatar
      net: remove NETIF_F_ALL_TX_OFFLOADS · 62f2a3a4
      Michał Mirosław authored
      There is no software fallback implemented for SCTP or FCoE checksumming,
      and so it should not be passed on by software devices like bridge or bonding.
      
      For VLAN devices, this is different. First, the driver for underlying device
      should be prepared to get offloaded packets even when the feature is disabled
      (especially if it advertises it in vlan_features). Second, devices under
      VLANs do not get replaced without tearing down the VLAN first.
      
      This fixes a mess I accidentally introduced while converting bonding to
      ndo_fix_features.
      
      NETIF_F_SOFT_FEATURES are removed from BOND_VLAN_FEATURES because they
      are unused as of commit 712ae51a.
      Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      62f2a3a4
    • Michał Mirosław's avatar
      net: sctp: fix checksum marking for outgoing packets · b73c43f8
      Michał Mirosław authored
      Packets to devices without NETIF_F_SCTP_CSUM (including NETIF_F_NO_CSUM)
      should be properly checksummed because the packets can be diverted or
      rerouted after construction. This still leaves packets diverted from
      NETIF_F_SCTP_CSUM-enabled devices with broken checksums. Fixing this
      needs implementing software offload fallback in networking core.
      
      For users of sctp_checksum_disable, skb->ip_summed should be left as
      CHECKSUM_NONE and not CHECKSUM_UNNECESSARY as per include/linux/skbuff.h.
      Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b73c43f8
  4. 13 Jul, 2011 8 commits
  5. 12 Jul, 2011 15 commits
  6. 11 Jul, 2011 11 commits