Robert Shearman 745041e2aa lwtunnel: autoload of lwt modules
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: Robert Shearman <rshearma@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-21 22:00:28 -05:00
..
2016-02-16 20:21:48 -05:00
2016-02-16 20:21:48 -05:00
2015-04-02 14:04:59 -04:00
2016-02-21 22:00:28 -05:00
2016-02-16 20:21:48 -05:00
2015-05-17 23:41:11 -04:00
2015-11-22 11:54:10 -05:00
2015-10-26 22:24:22 -07:00
2015-10-08 05:26:35 -07:00