Changeset 36529


Ignore:
Timestamp:
2013-05-02T17:59:57+02:00 (5 years ago)
Author:
nbd
Message:

kernel: do not strip /proc/net/ip_mr_* in the /proc debloat patch, it is used by iproute2

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

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

Legend:

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

    r36525 r36529  
    267267 } 
    268268 #endif 
    269 --- a/net/ipv4/ipmr.c 
    270 +++ b/net/ipv4/ipmr.c 
    271 @@ -70,6 +70,10 @@ 
    272  #define CONFIG_IP_PIMSM        1 
    273  #endif 
    274   
    275 +#ifdef CONFIG_PROC_STRIPPED 
    276 +#undef CONFIG_PROC_FS 
    277 +#endif 
    278 + 
    279  struct mr_table { 
    280         struct list_head        list; 
    281  #ifdef CONFIG_NET_NS 
    282269--- a/net/ipv4/proc.c 
    283270+++ b/net/ipv4/proc.c 
  • trunk/target/linux/generic/patches-3.7/902-debloat_proc.patch

    r36525 r36529  
    267267 } 
    268268 #endif 
    269 --- a/net/ipv4/ipmr.c 
    270 +++ b/net/ipv4/ipmr.c 
    271 @@ -70,6 +70,10 @@ 
    272  #define CONFIG_IP_PIMSM        1 
    273  #endif 
    274   
    275 +#ifdef CONFIG_PROC_STRIPPED 
    276 +#undef CONFIG_PROC_FS 
    277 +#endif 
    278 + 
    279  struct mr_table { 
    280         struct list_head        list; 
    281  #ifdef CONFIG_NET_NS 
    282269--- a/net/ipv4/proc.c 
    283270+++ b/net/ipv4/proc.c 
  • trunk/target/linux/generic/patches-3.8/902-debloat_proc.patch

    r36525 r36529  
    256256 } 
    257257  
    258 --- a/net/ipv4/ipmr.c 
    259 +++ b/net/ipv4/ipmr.c 
    260 @@ -71,6 +71,10 @@ 
    261  #define CONFIG_IP_PIMSM        1 
    262  #endif 
    263   
    264 +#ifdef CONFIG_PROC_STRIPPED 
    265 +#undef CONFIG_PROC_FS 
    266 +#endif 
    267 + 
    268  struct mr_table { 
    269         struct list_head        list; 
    270  #ifdef CONFIG_NET_NS 
    271258--- a/net/ipv4/proc.c 
    272259+++ b/net/ipv4/proc.c 
  • trunk/target/linux/generic/patches-3.9/902-debloat_proc.patch

    r36525 r36529  
    226226 } 
    227227  
    228 --- a/net/ipv4/ipmr.c 
    229 +++ b/net/ipv4/ipmr.c 
    230 @@ -71,6 +71,10 @@ 
    231  #define CONFIG_IP_PIMSM        1 
    232  #endif 
    233   
    234 +#ifdef CONFIG_PROC_STRIPPED 
    235 +#undef CONFIG_PROC_FS 
    236 +#endif 
    237 + 
    238  struct mr_table { 
    239         struct list_head        list; 
    240  #ifdef CONFIG_NET_NS 
    241228--- a/net/ipv4/proc.c 
    242229+++ b/net/ipv4/proc.c 
Note: See TracChangeset for help on using the changeset viewer.