o NET: move net/core/dv.c EXPORT_SYMBOLs from net/netsyms.c

parent 37e07e20
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
* Dave Miller: improvement on the code (correctness, performance and source files) * Dave Miller: improvement on the code (correctness, performance and source files)
* *
*/ */
#include <linux/module.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sched.h> #include <linux/sched.h>
...@@ -237,7 +238,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -237,7 +238,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -281,7 +282,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -281,7 +282,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -301,7 +302,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -301,7 +302,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -321,7 +322,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -321,7 +322,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -337,7 +338,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -337,7 +338,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -353,7 +354,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -353,7 +354,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -373,7 +374,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -373,7 +374,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -389,7 +390,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -389,7 +390,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -405,7 +406,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -405,7 +406,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
...@@ -425,19 +426,19 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg) ...@@ -425,19 +426,19 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
default: default:
return -EINVAL; return -EINVAL;
}; }
break; break;
default: default:
return -EINVAL; return -EINVAL;
}; }
return 0; return 0;
} }
...@@ -550,8 +551,8 @@ void divert_frame(struct sk_buff *skb) ...@@ -550,8 +551,8 @@ void divert_frame(struct sk_buff *skb)
} }
} }
break; break;
}; }
return;
} }
EXPORT_SYMBOL(alloc_divert_blk);
EXPORT_SYMBOL(free_divert_blk);
...@@ -29,9 +29,6 @@ ...@@ -29,9 +29,6 @@
#include <linux/if_bridge.h> #include <linux/if_bridge.h>
#include <linux/if_vlan.h> #include <linux/if_vlan.h>
#include <linux/random.h> #include <linux/random.h>
#ifdef CONFIG_NET_DIVERT
#include <linux/divert.h>
#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET #ifdef CONFIG_INET
#include <net/protocol.h> #include <net/protocol.h>
...@@ -69,10 +66,6 @@ EXPORT_SYMBOL(make_EII_client); ...@@ -69,10 +66,6 @@ EXPORT_SYMBOL(make_EII_client);
EXPORT_SYMBOL(destroy_EII_client); EXPORT_SYMBOL(destroy_EII_client);
#endif #endif
#ifdef CONFIG_NET_DIVERT
EXPORT_SYMBOL(alloc_divert_blk);
EXPORT_SYMBOL(free_divert_blk);
#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET #ifdef CONFIG_INET
/* Internet layer registration */ /* Internet layer registration */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment