Skip to content
Snippets Groups Projects
  1. Feb 22, 2016
    • Robert Shearman's avatar
      lwtunnel: autoload of lwt modules · 745041e2
      Robert Shearman authored
      
      The lwt implementations using net devices can autoload using the
      existing mechanism using IFLA_INFO_KIND. However, there's no mechanism
      that lwt modules not using net devices can use.
      
      Therefore, add the ability to autoload modules registering lwt
      operations for lwt implementations not using a net device so that
      users don't have to manually load the modules.
      
      Only users with the CAP_NET_ADMIN capability can cause modules to be
      loaded, which is ensured by rtnetlink_rcv_msg rejecting non-RTM_GETxxx
      messages for users without this capability, and by
      lwtunnel_build_state not being called in response to RTM_GETxxx
      messages.
      
      Signed-off-by: default avatarRobert Shearman <rshearma@brocade.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      745041e2
  2. Oct 08, 2015
  3. Aug 24, 2015
  4. Aug 20, 2015
  5. Aug 18, 2015
  6. Aug 04, 2015
  7. Jul 30, 2015
  8. Jul 27, 2015
  9. Jul 21, 2015
Loading