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

parent 37e07e20
......@@ -10,6 +10,7 @@
* Dave Miller: improvement on the code (correctness, performance and source files)
*
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
......@@ -237,7 +238,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -281,7 +282,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -301,7 +302,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -321,7 +322,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -337,7 +338,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -353,7 +354,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -373,7 +374,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -389,7 +390,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -405,7 +406,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
......@@ -425,19 +426,19 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return -EINVAL;
};
}
break;
default:
return -EINVAL;
};
}
break;
default:
return -EINVAL;
};
}
return 0;
}
......@@ -550,8 +551,8 @@ void divert_frame(struct sk_buff *skb)
}
}
break;
};
return;
}
}
EXPORT_SYMBOL(alloc_divert_blk);
EXPORT_SYMBOL(free_divert_blk);
......@@ -29,9 +29,6 @@
#include <linux/if_bridge.h>
#include <linux/if_vlan.h>
#include <linux/random.h>
#ifdef CONFIG_NET_DIVERT
#include <linux/divert.h>
#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
#include <net/protocol.h>
......@@ -69,10 +66,6 @@ EXPORT_SYMBOL(make_EII_client);
EXPORT_SYMBOL(destroy_EII_client);
#endif
#ifdef CONFIG_NET_DIVERT
EXPORT_SYMBOL(alloc_divert_blk);
EXPORT_SYMBOL(free_divert_blk);
#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
/* 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