1. 26 6月, 2018 35 次提交
  2. 25 6月, 2018 5 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 6f0d349d
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) Fix netpoll OOPS in r8169, from Ville Syrjälä.
      
       2) Fix bpf instruction alignment on powerpc et al., from Eric Dumazet.
      
       3) Don't ignore IFLA_MTU attribute when creating new ipvlan links. From
          Xin Long.
      
       4) Fix use after free in AF_PACKET, from Eric Dumazet.
      
       5) Mis-matched RTNL unlock in xen-netfront, from Ross Lagerwall.
      
       6) Fix VSOCK loopback on big-endian, from Claudio Imbrenda.
      
       7) Missing RX buffer offset correction when computing DMA addresses in
          mvneta driver, from Antoine Tenart.
      
       8) Fix crashes in DCCP's ccid3_hc_rx_send_feedback, from Eric Dumazet.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (34 commits)
        sfc: make function efx_rps_hash_bucket static
        strparser: Corrected typo in documentation.
        qmi_wwan: add support for the Dell Wireless 5821e module
        cxgb4: when disabling dcb set txq dcb priority to 0
        net_sched: remove a bogus warning in hfsc
        net: dccp: switch rx_tstamp_last_feedback to monotonic clock
        net: dccp: avoid crash in ccid3_hc_rx_send_feedback()
        net: Remove depends on HAS_DMA in case of platform dependency
        MAINTAINERS: Add file patterns for dsa device tree bindings
        net: mscc: make sparse happy
        net: mvneta: fix the Rx desc DMA address in the Rx path
        Documentation: e1000: Fix docs build error
        Documentation: e100: Fix docs build error
        Documentation: e1000: Use correct heading adornment
        Documentation: e100: Use correct heading adornment
        ipv6: mcast: fix unsolicited report interval after receiving querys
        vhost_net: validate sock before trying to put its fd
        VSOCK: fix loopback on big-endian systems
        net: ethernet: ti: davinci_cpdma: make function cpdma_desc_pool_create static
        xen-netfront: Update features after registering netdev
        ...
      6f0d349d
    • D
      Merge branch 'r8169-improve-PHY-initialization-and-WoL-handling' · 82381950
      David S. Miller 提交于
      Heiner Kallweit says:
      
      ====================
      r8169: improve PHY initialization and WoL handling
      
      Series with smaller improvements regarding PHY initialization and
      WoL handling.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      82381950
    • H
      r8169: don't check WoL when powering down PHY and interface is down · fe87bef0
      Heiner Kallweit 提交于
      We can power down the PHY irregardless of WOL settings if interface
      is down. So far we would have left the PHY enabled if WOL options
      are set and the interface is brought down.
      Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fe87bef0
    • H
      r8169: improve saved_wolopts handling · 433f9d0d
      Heiner Kallweit 提交于
      Let's make saved_wolopts a shadow copy of the WoL options. This allows
      to simplify the code and get rid of calls to now unneeded function
      __rtl8169_get_wol(). However don't remove __rtl8169_get_wol()
      completely to be prepared for the case that we can respect BIOS WOL
      settings again.
      Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      433f9d0d
    • H
      r8169: improve phy initialization when resuming · 92bad850
      Heiner Kallweit 提交于
      Let's move calling rtl8169_init_phy() to __rtl8169_resume().
      It simplifies the code and avoids rtl8169_init_phy() being called
      when resuming whilst interface is down. rtl_open() will initialize
      the PHY when the interface is brought up.
      Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      92bad850