1. 17 5月, 2012 20 次提交
  2. 16 5月, 2012 9 次提交
  3. 15 5月, 2012 4 次提交
    • S
      net: codel: fix build errors · 669d67bf
      Sasha Levin 提交于
      Fix the following build error:
      
      net/sched/sch_fq_codel.c: In function 'fq_codel_dump_stats':
      net/sched/sch_fq_codel.c:464:3: error: unknown field 'qdisc_stats' specified in initializer
      net/sched/sch_fq_codel.c:464:3: warning: missing braces around initializer
      net/sched/sch_fq_codel.c:464:3: warning: (near initialization for 'st.<anonymous>')
      net/sched/sch_fq_codel.c:465:3: error: unknown field 'qdisc_stats' specified in initializer
      net/sched/sch_fq_codel.c:465:3: warning: excess elements in struct initializer
      net/sched/sch_fq_codel.c:465:3: warning: (near initialization for 'st')
      net/sched/sch_fq_codel.c:466:3: error: unknown field 'qdisc_stats' specified in initializer
      net/sched/sch_fq_codel.c:466:3: warning: excess elements in struct initializer
      net/sched/sch_fq_codel.c:466:3: warning: (near initialization for 'st')
      net/sched/sch_fq_codel.c:467:3: error: unknown field 'qdisc_stats' specified in initializer
      net/sched/sch_fq_codel.c:467:3: warning: excess elements in struct initializer
      net/sched/sch_fq_codel.c:467:3: warning: (near initialization for 'st')
      make[1]: *** [net/sched/sch_fq_codel.o] Error 1
      Signed-off-by: NSasha Levin <levinsasha928@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      669d67bf
    • G
      net/codel: Add missing #include <linux/prefetch.h> · ce5b4b97
      Geert Uytterhoeven 提交于
      m68k allmodconfig:
      
      net/sched/sch_codel.c: In function ‘dequeue’:
      net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
      make[1]: *** [net/sched/sch_codel.o] Error 1
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ce5b4b97
    • J
      Bluetooth: mgmt: Fix device_connected sending order · 671267bf
      Johan Hedberg 提交于
      The mgmt_ev_device_connected signal must be sent before any event
      indications happen for sockets associated with the connection. Otherwise
      e.g. device authorization for the sockets will fail with ENOTCONN as
      user space things that there is no baseband link.
      
      This patch fixes the issue by ensuring that the device_connected event
      if sent (if it hasn't been so already) as soon as the first ACL data
      packet arrives from the remote device.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      671267bf
    • G
      Bluetooth: notify userspace of security level change · a7d7723a
      Gustavo Padovan 提交于
      It fixes L2CAP socket based security level elevation during a
      connection. The HID profile needs this (for keyboards) and it is the only
      way to achieve the security level elevation when using the management
      interface to talk to the kernel (hence the management enabling patch
      being the one that exposes this issue).
      
      It enables the userspace a security level change when the socket is
      already connected and create a way to notify the socket the result of the
      request. At the moment of the request the socket is made non writable, if
      the request fails the connections closes, otherwise the socket is made
      writable again, POLL_OUT is emmited.
      Signed-off-by: NGustavo Padovan <gustavo@padovan.org>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a7d7723a
  4. 14 5月, 2012 7 次提交