]> git.baikalelectronics.ru Git - kernel.git/commit
mpls: Allow mpls_gso and mpls_router to be built as modules
authorRobert Shearman <rshearma@brocade.com>
Tue, 10 Mar 2015 16:37:59 +0000 (16:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Mar 2015 20:38:54 +0000 (16:38 -0400)
commitf398715b2be5f5cc5960e28934474900780b7d3b
tree489b040e5c3be91081d5a4fedaa121478457efc4
parent68de5e25ce43c18e16ae8d16ee6ad28f793913cd
mpls: Allow mpls_gso and mpls_router to be built as modules

CONFIG_MPLS=m doesn't result in a kernel module being built because it
applies to the net/mpls directory, rather than to .o files.

So revert the MPLS menuitem to being a boolean and make MPLS_GSO and
MPLS_ROUTING tristates to allow mpls_gso and mpls_router modules to be
produced as desired.

Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Robert Shearman <rshearma@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/Kconfig
net/mpls/Makefile