diff options
author | Robert Shearman <rshearma@brocade.com> | 2016-02-19 12:43:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-22 06:00:28 +0300 |
commit | 745041e2aaf1d668f293aaab4b0f6ad7daa056a5 (patch) | |
tree | 74e23fcbb1a49a34efe08a4cdb2fa3ea910c3123 /include/video | |
parent | e817af27e01f9294055a441d1034bbc353ee39d2 (diff) | |
download | linux-745041e2aaf1d668f293aaab4b0f6ad7daa056a5.tar.xz |
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>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions