1. 04 Nov, 2013 30 commits
  2. 03 Nov, 2013 3 commits
  3. 02 Nov, 2013 7 commits
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · 9dc8c89d
      Linus Torvalds authored
      Pull ARM kallsyms fix from Rusty Russell:
       "Last minute perf unbreakage for ARM modules; spent a day in
        linux-next"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
        scripts/kallsyms: filter symbols not in kernel address space
      9dc8c89d
    • Vineet Gupta's avatar
      ARC: Incorrect mm reference used in vmalloc fault handler · 9c41f4ee
      Vineet Gupta authored
      A vmalloc fault needs to sync up PGD/PTE entry from init_mm to current
      task's "active_mm".  ARC vmalloc fault handler however was using mm.
      
      A vmalloc fault for non user task context (actually pre-userland, from
      init thread's open for /dev/console) caused the handler to deref NULL mm
      (for mm->pgd)
      
      The reasons it worked so far is amazing:
      
      1. By default (!SMP), vmalloc fault handler uses a cached value of PGD.
         In SMP that MMU register is repurposed hence need for mm pointer deref.
      
      2. In pre-3.12 SMP kernel, the problem triggering vmalloc didn't exist in
         pre-userland code path - it was introduced with commit 20bafb3d
         "n_tty: Move buffers into n_tty_data"
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      Cc: Gilad Ben-Yossef <gilad@benyossef.com>
      Cc: Noam Camus <noamc@ezchip.com>
      Cc: stable@vger.kernel.org    #3.10 and 3.11
      Cc: Peter Hurley <peter@hurleysoftware.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9c41f4ee
    • Jason Wang's avatar
      net: flow_dissector: fail on evil iph->ihl · 6f092343
      Jason Wang authored
      We don't validate iph->ihl which may lead a dead loop if we meet a IPIP
      skb whose iph->ihl is zero. Fix this by failing immediately when iph->ihl
      is evil (less than 5).
      
      This issue were introduced by commit ec5efe79
      (rps: support IPIP encapsulation).
      
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Petr Matousek <pmatouse@redhat.com>
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Cc: Daniel Borkmann <dborkman@redhat.com>
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Acked-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6f092343
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next · 296c1063
      David S. Miller authored
      Conflicts:
      	net/xfrm/xfrm_policy.c
      
      Minor merge conflict in xfrm_policy.c, consisting of overlapping
      changes which were trivial to resolve.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      296c1063
    • Dan Carpenter's avatar
      bonding: bond_get_size() returns wrong size · e139862e
      Dan Carpenter authored
      There is an extra semi-colon so bond_get_size() doesn't return the
      correct value.
      
      Fixes: ec76aa49 ('bonding: add Netlink support active_slave option')
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: default avatarVeaceslav Falico <vfalico@redhat.com>
      Reviewed-by: default avatarJiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e139862e
    • David S. Miller's avatar
      Merge branch 'cdc_ncm' · f99f4f8b
      David S. Miller authored
      Bjørn Mork says:
      
      ====================
      cdc_ncm: many small and mostly trivial fixes
      
      This series ended up longer than expected, and it is still not
      complete. There is more to come when time allows...
      
      Most changes are trivial. Notable non-trivial changes are
       - removed filtering of identical speed notifications
       - tx_max calulation is changed to count the pad byte if
         necessary, and respect the device limit as an absolute
         upper limit even if it is too low according to the spec
       - remove the bug preventing SET_MAX_DATAGRAM_SIZE from having
         any effect
       - drop the pad-to-max if ZLPs are enabled
       - the driver specific VERSION is dropped
       - dev->hard_mtu is set to tx_max instead of max_datagram_size
         causing usbnet to calculate the qlen based on the real max
         size of tx skbs
      
      This series has been tested, along with the previously posted
      cdc_mbim series, on the NCM and MBIM devices I have:
       - Ericsson F5521gw (NCM)
       - Huawei E367 (MBIM)
       - D-Link DWM-156 A7 (MBIM w/ too low dwNtb{In,Out}MaxSize bug)
       - Sierra Wireless MC7710 (MBIM w/ ZLP and CDC Union bugs)
      
      Apart from the D-Link modem dropping a lot less oversized
      frames with the fix dedicated to it, there are no end user
      noticable functional changes as a result of this series.  But
      all the non-trivial changes I listed above are of course
      detectable by users looking at that specific area (except maybe
      the removed speed notification, which requires a device sending
      duplicates to be noticable - I don't have any such device).
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f99f4f8b
    • Bjørn Mork's avatar
      net: cdc_ncm: no not set tx_max higher than the device supports · a6fe6708
      Bjørn Mork authored
      There are MBIM devices out there reporting
      
        dwNtbInMaxSize=2048 dwNtbOutMaxSize=2048
      
      and since the spec require a datagram max size of at least
      2048, this means that a full sized datagram will never fit.
      
      Still, sending larger NTBs than the device supports is not
      going to help.  We do not have any other options than either
       a) refusing to bindi, or
       b) respect the insanely low value.
      
      Alternative b will at least make these devices work, so go
      for it.
      
      Cc: Alexey Orishko <alexey.orishko@gmail.com>
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a6fe6708