1. 14 Jan, 2018 12 commits
  2. 12 Jan, 2018 25 commits
  3. 11 Jan, 2018 3 commits
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 8c2e6c90
      David S. Miller authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2018-01-11
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      The main changes are:
      
      1) Various BPF related improvements and fixes to nfp driver: i) do
         not register XDP RXQ structure to control queues, ii) round up
         program stack size to word size for nfp, iii) restrict MTU changes
         when BPF offload is active, iv) add more fully featured relocation
         support to JIT, v) add support for signed compare instructions to
         the nfp JIT, vi) export and reuse verfier log routine for nfp, and
         many more, from Jakub, Quentin and Nic.
      
      2) Fix a syzkaller reported GPF in BPF's copy_verifier_state() when
         we hit kmalloc failure path, from Alexei.
      
      3) Add two follow-up fixes for the recent XDP RXQ series: i) kvzalloc()
         allocated memory was only kfree()'ed, and ii) fix a memory leak where
         RX queue was not freed in netif_free_rx_queues(), from Jakub.
      
      4) Add a sample for transferring XDP meta data into the skb, here it
         is used for setting skb->mark with the buffer from XDP, from Jesper.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8c2e6c90
    • David S. Miller's avatar
      Merge branch 'for-upstream' of... · 3d93e337
      David S. Miller authored
      Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
      
      Johan Hedberg says:
      
      ====================
      pull request: bluetooth-next 2018-01-11
      
      Here's likely the last bluetooth-next pull request for the 4.16 kernel.
      
       - Added support for Bluetooth on 2015+ MacBook (Pro)
       - Fix to QCA Rome suspend/resume handling
       - Two new QCA_ROME USB IDs in btusb
       - A few other minor fixes
      
      Please let me know if there are any issues pulling. Thanks.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3d93e337
    • Wei Yongjun's avatar
      net: phy: mdio-bcm-unimac: fix potential NULL dereference in unimac_mdio_probe() · 297a6961
      Wei Yongjun authored
      platform_get_resource() may fail and return NULL, so we should
      better check it's return value to avoid a NULL pointer dereference
      a bit later in the code.
      
      This is detected by Coccinelle semantic patch.
      
      @@
      expression pdev, res, n, t, e, e1, e2;
      @@
      
      res = platform_get_resource(pdev, t, n);
      + if (!res)
      +   return -EINVAL;
      ... when != res == NULL
      e = devm_ioremap(e1, res->start, e2);
      Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      297a6961