Skip to content
  1. Feb 28, 2018
  2. Feb 27, 2018
    • Arnd Bergmann's avatar
      ipvlan: fix building with modular IPV6 · 7f897db3
      Arnd Bergmann authored
      We no longer depend on IPV6, but that now causes a link error with
      CONFIG_IPV6=m and CONFIG_IPVLAN=y:
      
      drivers/net/ipvlan/ipvlan_core.o: In function `ipvlan_queue_xmit':
      ipvlan_core.c:(.text+0x1440): undefined reference to `ip6_route_output_flags'
      drivers/net/ipvlan/ipvlan_core.o: In function `ipvlan_l3_rcv':
      ipvlan_core.c:(.text+0x1818): undefined reference to `ip6_route_input_lookup'
      
      This adds back the dependency on IPV6, with the option of building without
      IPV6, but forcing IPVLAN to be a module when IPV6 is a module.
      
      Fixes: 94333fac
      
       ("ipvlan: drop ipv6 dependency")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7f897db3
    • David S. Miller's avatar
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 3808b519
      David S. Miller authored
      
      
      Jeff Kirsher says:
      
      ====================
      10GbE Intel Wired LAN Driver Updates 2018-02-26
      
      This series contains updates to ixgbe and ixgbevf only.
      
      Colin Ian King cleans up redundant variable assignments.
      
      Tonghao Zhang updates ixgbe to avoid writing to the hardware when the
      redirection table has not changed.
      
      Jake fixes the driver logic for checking and clearing receive timestamp
      hangs so that when the PTP_RX_TIMESTAMP_IN_REGISTER flag is set, we no
      longer need to check for receive timestamp hangs, which in turn will
      stop the spurious log messages.
      
      Emil updates ixgbevf with several features and improvements done in
      other drivers, starting with the handling of page addresses so that we
      always refer to them using a void pointer.  Added a 'legacy-rx' flag to
      allow switching between the old and new receive code paths.  Added
      support for using 3K buggers in order 1 page.  Updated the driver to
      ensure that calls to ixgbevf_open() are rtnl lock protected and improved
      the error handling when setting up multiple queues.  Added support for
      providing a buffer with head room and tail room to allow for shared
      info, NET_SKB_PAD, and NET_IP_ALIGN, so that we can start using
      build_skb to build frames instead of using memcpy() the headers.
      Updated the logic of handling rings closer to ixgbe.  Consolidated the
      receive paths to reduce duplication when we expand them in the future.
      Added build_skb() support to ixgbevf.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3808b519
    • Alexey Dobriyan's avatar
      net: make kmem caches as __ro_after_init · 08009a76
      Alexey Dobriyan authored
      
      
      All kmem caches aren't reallocated once set up.
      
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      08009a76