Skip to content
Snippets Groups Projects
Commit 0e9d0ab9 authored by Mutalik Desai, Suprasad's avatar Mutalik Desai, Suprasad Committed by Kenneth Johansson
Browse files

Merge pull request #239 in SW_PON/linux from...

Merge pull request #239 in SW_PON/linux from UGW_SW-20774-9710-11-12-multicast-porting-to-linux4.9 to xrx500

UGW_SW-20774-9710-11-12-multicast-porting-to-linux4.9

* commit 'fecf5cfbecff7d9e0b3ccc18cf116f9c68c656d0':
  UGW_SW-20774 : Multicast fix for the FTP crash
parent 1e72d5c4
No related branches found
No related tags found
No related merge requests found
...@@ -1795,7 +1795,7 @@ const struct file_operations mcast_helper_seq_fops6 = { ...@@ -1795,7 +1795,7 @@ const struct file_operations mcast_helper_seq_fops6 = {
*===========================================================================*/ *===========================================================================*/
int __net_init mcast_helper_net_init(struct net *net) int mcast_helper_net_init(void)
{ {
struct proc_dir_entry *pde, *pde6; struct proc_dir_entry *pde, *pde6;
...@@ -1821,18 +1821,6 @@ out_mcast: ...@@ -1821,18 +1821,6 @@ out_mcast:
*description : function to remove mcast helper proc entry *description : function to remove mcast helper proc entry
*===========================================================================*/ *===========================================================================*/
void __net_exit mcast_helper_net_exit(struct net *nt)
{
remove_proc_entry("mcast_helper", NULL);
remove_proc_entry("mcast_helper6", NULL);
}
struct pernet_operations mcast_net_ops = {
.init = mcast_helper_net_init,
.exit = mcast_helper_net_exit,
};
#ifdef CONFIG_SYSCTL #ifdef CONFIG_SYSCTL
/**Functions to create a proc for ACL enable/disbale support **/ /**Functions to create a proc for ACL enable/disbale support **/
...@@ -1948,7 +1936,7 @@ int __init mcast_helper_proc_init(void) ...@@ -1948,7 +1936,7 @@ int __init mcast_helper_proc_init(void)
#endif #endif
/*create_new_proc_entry();*/ /*create_new_proc_entry();*/
ret = register_pernet_subsys(&mcast_net_ops); ret = mcast_helper_net_init();
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment