1. 13 Apr, 2017 4 commits
  2. 31 Mar, 2017 4 commits
  3. 29 Mar, 2017 2 commits
    • Ben Greear's avatar
      mac80211-hwsim: remove dmesg spam about get-survey. · 667a2e6b
      Ben Greear authored
      This message just fills up dmesg and/or kernel logs and does
      not provide any useful information.
      Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      667a2e6b
    • Masashi Honma's avatar
      mac80211: mesh: drop new node with weak power · ed92a9b5
      Masashi Honma authored
      On some practical cases, it is useful to drop new node in the distance.
      Because mesh metric is calculated with hop count and without RSSI
      information, a node far from local peer and near to destination node
      could be used as best path.
      
      For example, the nodes are located in linear. Distance of 0 - 1 and
      1 - 2 and 2 - 3 is 20meters. 0 to 3 signal is very weak.
      
          0 --- 1 --- 2 --- 3
      
      Though most robust path from 0 to 3 is 0 -> 1 -> 2 -> 3,
      unfortunately, node 0 could recognize node 3 as neighbor. Then node 3
      could be next of node 0. This patch aims to avoid such a case.
      
      [Johannes:]
      Dropping the node entirely isn't ideal, but at least with encryption
      there will be a limit on # of keys the hardware can deal with, and
      there might also be a limit on the number of stations it supports.
      Signed-off-by: default avatarMasashi Honma <masashi.honma@gmail.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      ed92a9b5
  4. 17 Mar, 2017 1 commit
  5. 16 Mar, 2017 2 commits
  6. 08 Mar, 2017 1 commit
    • Johannes Berg's avatar
      mac80211: reject/clear user rate mask if not usable · e8e4f528
      Johannes Berg authored
      If the user rate mask results in no (basic) rates being usable,
      clear it. Also, if we're already operating when it's set, reject
      it instead.
      
      Technically, selecting basic rates as the criterion is a bit too
      restrictive, but calculating the usable rates over all stations
      (e.g. in AP mode) is harder, and all stations must support the
      basic rates. Similarly, in client mode, the basic rates will be
      used anyway for control frames.
      
      This fixes the "no supported rates (...) in rate_mask ..." warning
      that occurs on TX when you've selected a rate mask that's not
      compatible with the connection (e.g. an AP that enables only the
      rates 36, 48, 54 and you've selected only 6, 9, 12.)
      Reported-by: default avatarKirtika Ruchandani <kirtika@google.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      e8e4f528
  7. 07 Mar, 2017 4 commits
  8. 06 Mar, 2017 21 commits
  9. 05 Mar, 2017 1 commit
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 8d70eeb8
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix double-free in batman-adv, from Sven Eckelmann.
      
       2) Fix packet stats for fast-RX path, from Joannes Berg.
      
       3) Netfilter's ip_route_me_harder() doesn't handle request sockets
          properly, fix from Florian Westphal.
      
       4) Fix sendmsg deadlock in rxrpc, from David Howells.
      
       5) Add missing RCU locking to transport hashtable scan, from Xin Long.
      
       6) Fix potential packet loss in mlxsw driver, from Ido Schimmel.
      
       7) Fix race in NAPI handling between poll handlers and busy polling,
          from Eric Dumazet.
      
       8) TX path in vxlan and geneve need proper RCU locking, from Jakub
          Kicinski.
      
       9) SYN processing in DCCP and TCP need to disable BH, from Eric
          Dumazet.
      
      10) Properly handle net_enable_timestamp() being invoked from IRQ
          context, also from Eric Dumazet.
      
      11) Fix crash on device-tree systems in xgene driver, from Alban Bedel.
      
      12) Do not call sk_free() on a locked socket, from Arnaldo Carvalho de
          Melo.
      
      13) Fix use-after-free in netvsc driver, from Dexuan Cui.
      
      14) Fix max MTU setting in bonding driver, from WANG Cong.
      
      15) xen-netback hash table can be allocated from softirq context, so use
          GFP_ATOMIC. From Anoob Soman.
      
      16) Fix MAC address change bug in bgmac driver, from Hari Vyas.
      
      17) strparser needs to destroy strp_wq on module exit, from WANG Cong.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (69 commits)
        strparser: destroy workqueue on module exit
        sfc: fix IPID endianness in TSOv2
        sfc: avoid max() in array size
        rds: remove unnecessary returned value check
        rxrpc: Fix potential NULL-pointer exception
        nfp: correct DMA direction in XDP DMA sync
        nfp: don't tell FW about the reserved buffer space
        net: ethernet: bgmac: mac address change bug
        net: ethernet: bgmac: init sequence bug
        xen-netback: don't vfree() queues under spinlock
        xen-netback: keep a local pointer for vif in backend_disconnect()
        netfilter: nf_tables: don't call nfnetlink_set_err() if nfnetlink_send() fails
        netfilter: nft_set_rbtree: incorrect assumption on lower interval lookups
        netfilter: nf_conntrack_sip: fix wrong memory initialisation
        can: flexcan: fix typo in comment
        can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
        can: gs_usb: fix coding style
        can: gs_usb: Don't use stack memory for USB transfers
        ixgbe: Limit use of 2K buffers on architectures with 256B or larger cache lines
        ixgbe: update the rss key on h/w, when ethtool ask for it
        ...
      8d70eeb8