1. 20 Apr, 2019 11 commits
  2. 19 Apr, 2019 24 commits
  3. 18 Apr, 2019 5 commits
    • Stephen Suryaputra's avatar
      ipv6: Add rate limit mask for ICMPv6 messages · 0bc19985
      Stephen Suryaputra authored
      To make ICMPv6 closer to ICMPv4, add ratemask parameter. Since the ICMP
      message types use larger numeric values, a simple bitmask doesn't fit.
      I use large bitmap. The input and output are the in form of list of
      ranges. Set the default to rate limit all error messages but Packet Too
      Big. For Packet Too Big, use ratemask instead of hard-coded.
      
      There are functions where icmpv6_xrlim_allow() and icmpv6_global_allow()
      aren't called. This patch only adds them to icmpv6_echo_reply().
      
      Rate limiting error messages is mandated by RFC 4443 but RFC 4890 says
      that it is also acceptable to rate limit informational messages. Thus,
      I removed the current hard-coded behavior of icmpv6_mask_allow() that
      doesn't rate limit informational messages.
      
      v2: Add dummy function proc_do_large_bitmap() if CONFIG_PROC_SYSCTL
          isn't defined, expand the description in ip-sysctl.txt and remove
          unnecessary conditional before kfree().
      v3: Inline the bitmap instead of dynamically allocated. Still is a
          pointer to it is needed because of the way proc_do_large_bitmap work.
      Signed-off-by: default avatarStephen Suryaputra <ssuryaextr@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0bc19985
    • Heiner Kallweit's avatar
      net: phy: remove dead code from phy_sanitize_settings · 4cf2d206
      Heiner Kallweit authored
      phy_sanitize_settings() is called from phy_start_aneg() only, and only
      if phydev->autoneg isn't set. Therefore the removed code does nothing.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4cf2d206
    • Heiner Kallweit's avatar
      net: phy: don't set autoneg if it's not supported · 5e42574b
      Heiner Kallweit authored
      In phy_device_create() we set phydev->autoneg = 1. This isn't changed
      even if the PHY doesn't support autoneg. This seems to affect very
      few PHY's, and they disable phydev->autoneg in their config_init
      callback. So it's more of an improvement, therefore net-next.
      The patch also wouldn't apply to older kernel versions because the
      link mode bitmaps have been introduced recently.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5e42574b
    • David S. Miller's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 16111991
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2019-04-18
      
      This series contains updates to the ice driver only.
      
      Anirudh fixes up code comments which had typos.  Added support for DCB
      into the ice driver, which required a bit of refactoring of the existing
      code.  Also fixed a potential race condition between closing and opening
      the VSI for a MIB change event, so resolved this by grabbing the
      rtnl_lock prior to closing.  Added support to process LLDP MIB change
      notifications.  Added support for reporting DCB stats via ethtool.
      
      Brett updates the calculation to increment ITR to use a direct
      calculation instead of using estimations.  This provides a more accurate
      value.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      16111991
    • David S. Miller's avatar
      Merge tag 'wireless-drivers-next-for-davem-2019-04-18' of... · f9a904ef
      David S. Miller authored
      Merge tag 'wireless-drivers-next-for-davem-2019-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
      
      Kalle Valo says:
      
      ====================
      wireless-drivers-next patches for 5.2
      
      Nothing really special standing out this time, iwlwifi being the most
      active driver.
      
      Major changes:
      
      iwlwifi
      
      * send NO_DATA events so they can be captured in radiotap
      
      * support for multiple BSSID
      
      * support for some new FW API versions
      
      * support new hardware
      
      * debugfs cleanups by Greg-KH
      
      qtnfmac
      
      * allow each MAC to specify its own regulatory rules
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f9a904ef