All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris J Arges <chris.j.arges@canonical.com>
To: Simon Horman <horms@verge.net.au>, Julian Anastasov <ja@ssi.bg>
Cc: lvs-devel@vger.kernel.org
Subject: Re: [PATCH net] ipvs: fix ipv6 hook registration for local replies
Date: Wed, 24 Sep 2014 09:55:11 -0500	[thread overview]
Message-ID: <5422DB4F.5060900@canonical.com> (raw)
In-Reply-To: <20140828015534.GE5936@verge.net.au>

On 08/27/2014 08:55 PM, Simon Horman wrote:
> On Fri, Aug 22, 2014 at 05:53:41PM +0300, Julian Anastasov wrote:
>> commit fc604767613b6d2036cdc35b660bc39451040a47
>> ("ipvs: changes for local real server") from 2.6.37
>> introduced DNAT support to local real server but the
>> IPv6 LOCAL_OUT handler ip_vs_local_reply6() is
>> registered incorrectly as IPv4 hook causing any outgoing
>> IPv4 traffic to be dropped depending on the IP header values.
>>
>> Chris tracked down the problem to CONFIG_IP_VS_IPV6=y
>> Bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349768
>>
>> Reported-by: Chris J Arges <chris.j.arges@canonical.com>
>> Tested-by: Chris J Arges <chris.j.arges@canonical.com>
>> Signed-off-by: Julian Anastasov <ja@ssi.bg>
> 
> Thanks, and sorry for the delay.
> I have queued this up in the ipvs tree as a fix for v3.17.
> I also plan to ask for it to be considered for -stable.
> 
Julian,
Has this been queued up for netdev stable? Or should I send an email?
Thanks,
--chris j arges

>> ---
>>  net/netfilter/ipvs/ip_vs_core.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
>> index e683675..5c34e8d 100644
>> --- a/net/netfilter/ipvs/ip_vs_core.c
>> +++ b/net/netfilter/ipvs/ip_vs_core.c
>> @@ -1906,7 +1906,7 @@ static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
>>  	{
>>  		.hook		= ip_vs_local_reply6,
>>  		.owner		= THIS_MODULE,
>> -		.pf		= NFPROTO_IPV4,
>> +		.pf		= NFPROTO_IPV6,
>>  		.hooknum	= NF_INET_LOCAL_OUT,
>>  		.priority	= NF_IP6_PRI_NAT_DST + 1,
>>  	},
>> -- 
>> 1.9.0
>>
> 

  reply	other threads:[~2014-09-24 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-22 14:53 [PATCH net] ipvs: fix ipv6 hook registration for local replies Julian Anastasov
2014-08-28  1:55 ` Simon Horman
2014-09-24 14:55   ` Chris J Arges [this message]
2014-09-25  0:22     ` Simon Horman
2014-09-25 16:57       ` Pablo Neira Ayuso
2014-09-30  5:13         ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5422DB4F.5060900@canonical.com \
    --to=chris.j.arges@canonical.com \
    --cc=horms@verge.net.au \
    --cc=ja@ssi.bg \
    --cc=lvs-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.