Messages in this thread | | | Date | Thu, 15 May 2014 15:37:21 -0400 (EDT) | Subject | Re: [PATCH] net: tunnels - enable module autoloading | From | David Miller <> |
| |
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"); ^
| |