Changeset 36307


Ignore:
Timestamp:
2013-04-10T15:45:12+02:00 (5 years ago)
Author:
nbd
Message:

kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/target/linux/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.8/902-debloat_proc.patch

    r36215 r36307  
    256256 } 
    257257  
    258 --- a/net/ipv4/igmp.c 
    259 +++ b/net/ipv4/igmp.c 
    260 @@ -2673,6 +2673,8 @@ static struct pernet_operations igmp_net 
    261   
    262  int __init igmp_mc_proc_init(void) 
    263  { 
    264 +       if (IS_ENABLED(CONFIG_PROC_STRIPPED)) 
    265 +               return 0; 
    266         return register_pernet_subsys(&igmp_net_ops); 
    267  } 
    268  #endif 
    269258--- a/net/ipv4/ipmr.c 
    270259+++ b/net/ipv4/ipmr.c 
  • trunk/target/linux/generic/patches-3.9/902-debloat_proc.patch

    r36008 r36307  
    226226 } 
    227227  
    228 --- a/net/ipv4/igmp.c 
    229 +++ b/net/ipv4/igmp.c 
    230 @@ -2674,6 +2674,8 @@ static struct pernet_operations igmp_net 
    231   
    232  int __init igmp_mc_proc_init(void) 
    233  { 
    234 +       if (IS_ENABLED(CONFIG_PROC_STRIPPED)) 
    235 +               return 0; 
    236         return register_pernet_subsys(&igmp_net_ops); 
    237  } 
    238  #endif 
    239228--- a/net/ipv4/ipmr.c 
    240229+++ b/net/ipv4/ipmr.c 
Note: See TracChangeset for help on using the changeset viewer.