|
@@ -1923,7 +1923,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* After packet filtering, change source only for VS/NAT */
|
|
|
{
|
|
|
.hook = ip_vs_reply4,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV4,
|
|
|
.hooknum = NF_INET_LOCAL_IN,
|
|
|
.priority = NF_IP_PRI_NAT_SRC - 2,
|
|
@@ -1933,7 +1932,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
* applied to IPVS. */
|
|
|
{
|
|
|
.hook = ip_vs_remote_request4,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV4,
|
|
|
.hooknum = NF_INET_LOCAL_IN,
|
|
|
.priority = NF_IP_PRI_NAT_SRC - 1,
|
|
@@ -1941,7 +1939,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* Before ip_vs_in, change source only for VS/NAT */
|
|
|
{
|
|
|
.hook = ip_vs_local_reply4,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV4,
|
|
|
.hooknum = NF_INET_LOCAL_OUT,
|
|
|
.priority = NF_IP_PRI_NAT_DST + 1,
|
|
@@ -1949,7 +1946,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* After mangle, schedule and forward local requests */
|
|
|
{
|
|
|
.hook = ip_vs_local_request4,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV4,
|
|
|
.hooknum = NF_INET_LOCAL_OUT,
|
|
|
.priority = NF_IP_PRI_NAT_DST + 2,
|
|
@@ -1958,7 +1954,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
* destined for 0.0.0.0/0, which is for incoming IPVS connections */
|
|
|
{
|
|
|
.hook = ip_vs_forward_icmp,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV4,
|
|
|
.hooknum = NF_INET_FORWARD,
|
|
|
.priority = 99,
|
|
@@ -1966,7 +1961,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* After packet filtering, change source only for VS/NAT */
|
|
|
{
|
|
|
.hook = ip_vs_reply4,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV4,
|
|
|
.hooknum = NF_INET_FORWARD,
|
|
|
.priority = 100,
|
|
@@ -1975,7 +1969,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* After packet filtering, change source only for VS/NAT */
|
|
|
{
|
|
|
.hook = ip_vs_reply6,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV6,
|
|
|
.hooknum = NF_INET_LOCAL_IN,
|
|
|
.priority = NF_IP6_PRI_NAT_SRC - 2,
|
|
@@ -1985,7 +1978,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
* applied to IPVS. */
|
|
|
{
|
|
|
.hook = ip_vs_remote_request6,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV6,
|
|
|
.hooknum = NF_INET_LOCAL_IN,
|
|
|
.priority = NF_IP6_PRI_NAT_SRC - 1,
|
|
@@ -1993,7 +1985,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* Before ip_vs_in, change source only for VS/NAT */
|
|
|
{
|
|
|
.hook = ip_vs_local_reply6,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV6,
|
|
|
.hooknum = NF_INET_LOCAL_OUT,
|
|
|
.priority = NF_IP6_PRI_NAT_DST + 1,
|
|
@@ -2001,7 +1992,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* After mangle, schedule and forward local requests */
|
|
|
{
|
|
|
.hook = ip_vs_local_request6,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV6,
|
|
|
.hooknum = NF_INET_LOCAL_OUT,
|
|
|
.priority = NF_IP6_PRI_NAT_DST + 2,
|
|
@@ -2010,7 +2000,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
* destined for 0.0.0.0/0, which is for incoming IPVS connections */
|
|
|
{
|
|
|
.hook = ip_vs_forward_icmp_v6,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV6,
|
|
|
.hooknum = NF_INET_FORWARD,
|
|
|
.priority = 99,
|
|
@@ -2018,7 +2007,6 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
|
|
|
/* After packet filtering, change source only for VS/NAT */
|
|
|
{
|
|
|
.hook = ip_vs_reply6,
|
|
|
- .owner = THIS_MODULE,
|
|
|
.pf = NFPROTO_IPV6,
|
|
|
.hooknum = NF_INET_FORWARD,
|
|
|
.priority = 100,
|