lkml.org 
[lkml]   [2014]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: tunnels - enable module autoloading
From
From: Tom Gundersen <teg@jklm.no>
Date: Tue, 13 May 2014 10:48:28 +0200

> Enable the module alias hookup to allow tunnel modules to be autoloaded on demand.
>
> This is in line with how most other netdev kinds work, and will allow userspace
> to create tunnels without having CAP_SYS_MODULE.
>
> Signed-off-by: Tom Gundersen <teg@jklm.no>
> Tested-by: Susant Sahani <susant@redhat.com>

This doesn't even compile:

CC [M] net/ipv4/ipip.o
In file included from include/linux/module.h:17:0,
from net/ipv4/ipip.c:95:
include/linux/moduleparam.h:21:1: error: expected ‘,’ or ‘;’ before ‘static’
static const char __UNIQUE_ID(name)[] \
^
include/linux/module.h:86:32: note: in expansion of macro ‘__MODULE_INFO’
#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
^
include/linux/module.h:89:30: note: in expansion of macro ‘MODULE_INFO’
#define MODULE_ALIAS(_alias) MODULE_INFO(alias, _alias)
^
include/linux/netdevice.h:3283:2: note: in expansion of macro ‘MODULE_ALIAS’
MODULE_ALIAS("netdev-" device)
^
net/ipv4/ipip.c:490:1: note: in expansion of macro ‘MODULE_ALIAS_NETDEV’
MODULE_ALIAS_NETDEV("tunl0");
^
\
 
 \ /
  Last update: 2014-05-16 00:01    [W:0.059 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site