Changeset 31704


Ignore:
Timestamp:
Mar 19, 2017, 1:10:11 PM (5 weeks ago)
Author:
brainslayer
Message:

fixes multicast issue where default values werent initialized correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/net/ipv4/igmp.c

    r31574 r31704  
    29512951static int __net_init igmp_net_init(struct net *net)
    29522952{
     2953#ifndef CONFIG_PROC_STRIPPED
    29532954        struct proc_dir_entry *pde;
    29542955        int err;
     
    29682969                goto out_sock;
    29692970        }
    2970 
     2971#endif
    29712972        /* Sysctl initialization */
    29722973        net->ipv4.sysctl_igmp_max_memberships = 20;
     
    29872988static void __net_exit igmp_net_exit(struct net *net)
    29882989{
     2990#ifndef CONFIG_PROC_STRIPPED
    29892991        remove_proc_entry("mcfilter", net->proc_net);
    29902992        remove_proc_entry("igmp", net->proc_net);
     2993#endif
    29912994        inet_ctl_sock_destroy(net->ipv4.mc_autojoin_sk);
    29922995}
     
    30243027#if defined(CONFIG_PROC_FS)
    30253028        int err;
    3026         if (IS_ENABLED(CONFIG_PROC_STRIPPED))
    3027                 return 0;
    30283029               
    30293030        err = register_pernet_subsys(&igmp_net_ops);
Note: See TracChangeset for help on using the changeset viewer.