1. 27 Feb, 2015 2 commits
    • Jiri Slaby's avatar
      Bluetooth: make hci_test_bit's addr const · 9391976a
      Jiri Slaby authored
      gcc5 warns about passing a const array to hci_test_bit which takes a
      non-const pointer:
      net/bluetooth/hci_sock.c: In function ‘hci_sock_sendmsg’:
      net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of ‘hci_test_bit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-array-qualifiers]
              &hci_sec_filter.ocf_mask[ogf])) &&
              ^
      net/bluetooth/hci_sock.c:49:19: note: expected ‘void *’ but argument is of type ‘const __u32 (*)[4] {aka const unsigned int (*)[4]}’
       static inline int hci_test_bit(int nr, void *addr)
                         ^
      
      So make 'addr' 'const void *'.
      Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Johan Hedberg <johan.hedberg@gmail.com>
      9391976a
    • Johan Hedberg's avatar
      Bluetooth: Update New CSRK event to match latest specification · 4cd3928a
      Johan Hedberg authored
      The 'master' parameter of the New CSRK event was recently renamed to
      'type', with the old values kept for backwards compatibility as
      unauthenticated local/remote keys. This patch updates the code to take
      into account the two new (authenticated) values and ensures they get
      used based on the security level of the connection that the respective
      keys get distributed over.
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      4cd3928a
  2. 20 Feb, 2015 3 commits
  3. 19 Feb, 2015 7 commits
  4. 17 Feb, 2015 1 commit
  5. 16 Feb, 2015 1 commit
    • Johan Hedberg's avatar
      Bluetooth: Fix accepting early data on fixed channels · 315917e0
      Johan Hedberg authored
      On BR/EDR the L2CAP channel instances for fixed channels have so far
      been marked as ready only once the L2CAP information req/rsp procedure
      is complete and we have the fixed channel mask. This could however lead
      to data being dropped if we receive it on the channel before knowing the
      remote mask.
      
      Since it is valid for a remote to send data this early, simply assume
      that the channel is supported when we receive data on it. So far this
      hasn't been noticed much because of limited use of fixed channels on
      BR/EDR, but e.g. with SMP over BR/EDR this is already now visible with
      automated tests failing randomly.
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      315917e0
  6. 15 Feb, 2015 7 commits
  7. 14 Feb, 2015 16 commits
  8. 12 Feb, 2015 3 commits
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux · 855e7e71
      David S. Miller authored
      I pushed a version of the crypto iov_iter bug fix that
      Al Viro wrote, but Linus put in a different copy of the
      same fix into his tree.
      
      I then reverted my commit in net-next, and that's why we have a merge
      when pulling in Linus's tree.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      855e7e71
    • David S. Miller's avatar
      Revert "crypto: Fix regressions caused by iov_iter changes." · e09dcd2e
      David S. Miller authored
      This reverts commit 750d8065.
      
      Linus already fixed this in his tree so just use what
      he did.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e09dcd2e
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 59d53737
      Linus Torvalds authored
      Merge second set of updates from Andrew Morton:
       "More of MM"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (83 commits)
        mm/nommu.c: fix arithmetic overflow in __vm_enough_memory()
        mm/mmap.c: fix arithmetic overflow in __vm_enough_memory()
        vmstat: Reduce time interval to stat update on idle cpu
        mm/page_owner.c: remove unnecessary stack_trace field
        Documentation/filesystems/proc.txt: describe /proc/<pid>/map_files
        mm: incorporate read-only pages into transparent huge pages
        vmstat: do not use deferrable delayed work for vmstat_update
        mm: more aggressive page stealing for UNMOVABLE allocations
        mm: always steal split buddies in fallback allocations
        mm: when stealing freepages, also take pages created by splitting buddy page
        mincore: apply page table walker on do_mincore()
        mm: /proc/pid/clear_refs: avoid split_huge_page()
        mm: pagewalk: fix misbehavior of walk_page_range for vma(VM_PFNMAP)
        mempolicy: apply page table walker on queue_pages_range()
        arch/powerpc/mm/subpage-prot.c: use walk->vma and walk_page_vma()
        memcg: cleanup preparation for page table walk
        numa_maps: remove numa_maps->vma
        numa_maps: fix typo in gather_hugetbl_stats
        pagemap: use walk->vma instead of calling find_vma()
        clear_refs: remove clear_refs_private->vma and introduce clear_refs_test_walk()
        ...
      59d53737