Messages in this thread | | | Subject | Re: [RFC V2 PATCH 01/25] net: introduce NET policy | From | Randy Dunlap <> | Date | Thu, 4 Aug 2016 13:09:24 -0700 |
| |
On 08/04/16 12:36, kan.liang@intel.com wrote: > From: Kan Liang <kan.liang@intel.com> > > This patch introduce NET policy subsystem. If proc is supported in the > system, it creates netpolicy node in proc system. > > Signed-off-by: Kan Liang <kan.liang@intel.com> > --- > include/linux/netdevice.h | 7 +++ > include/net/net_namespace.h | 3 ++ > net/Kconfig | 7 +++ > net/core/Makefile | 1 + > net/core/netpolicy.c | 128 ++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 146 insertions(+) > create mode 100644 net/core/netpolicy.c
> diff --git a/net/Kconfig b/net/Kconfig > index c2cdbce..00552ba 100644 > --- a/net/Kconfig > +++ b/net/Kconfig > @@ -205,6 +205,13 @@ source "net/bridge/netfilter/Kconfig" > > endif > > +config NETPOLICY > + depends on NET > + bool "Net policy support" > + default y > + ---help--- > + Net policy support > +
New kconfig options shouldn't default to y.
-- ~Randy
| |