Re: [PATCH v2 net-next 1/9] sunvnet: make sunvnet common code dynamically loadable

2017-02-08 Thread Shannon Nelson
On 2/8/2017 11:29 AM, David Miller wrote: From: Shannon Nelson Date: Tue, 7 Feb 2017 14:12:54 -0800 +static int __init sunvnet_common_init(void) +{ + pr_info("%s\n", version); + return 0; +} +module_init(sunvnet_common_init); + +static void __exit

Re: [PATCH v2 net-next 1/9] sunvnet: make sunvnet common code dynamically loadable

2017-02-08 Thread David Miller
From: Shannon Nelson Date: Tue, 7 Feb 2017 14:12:54 -0800 > +static int __init sunvnet_common_init(void) > +{ > + pr_info("%s\n", version); > + return 0; > +} > +module_init(sunvnet_common_init); > + > +static void __exit sunvnet_common_exit(void) > +{ > +

[PATCH v2 net-next 1/9] sunvnet: make sunvnet common code dynamically loadable

2017-02-07 Thread Shannon Nelson
When the sunvnet_common code was split out for use by both sunvnet and the newer ldmvsw, it was made into a static kernel library, which limits the usefulness of sunvnet and ldmvsw as loadables, since most of the real work is being done in the shared code. Also, this is simply dead code in