Re: ipv4 regression in 2.6.31 ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, September 14, 2009 - 9:10 am

Stephan von Krawczynski a écrit :

Yes, previous kernels ignored /proc/sys/net/ipv4/conf/all/rp_filter value, it was a bug.

commit 27fed4175acf81ddd91d9a4ee2fd298981f60295
Author: Stephen Hemminger <shemminger@vyatta.com>
Date:   Mon Jul 27 18:39:45 2009 -0700

    ip: fix logic of reverse path filter sysctl

    Even though reverse path filter was changed from simple boolean to
    trinary control, the loose mode only works if both all and device are
    configured because of this logic error.

    Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>


In your case, you *need*
echo 0 >/proc/sys/net/ipv4/conf/all/rp_filter
or
echo 2 >/proc/sys/net/ipv4/conf/all/rp_filter

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ipv4 regression in 2.6.31 ?, Eric Dumazet, (Mon Sep 14, 6:57 am)
Re: ipv4 regression in 2.6.31 ?, Stephan von Krawczynski, (Mon Sep 14, 8:10 am)
Re: ipv4 regression in 2.6.31 ?, Eric Dumazet, (Mon Sep 14, 8:21 am)
Re: ipv4 regression in 2.6.31 ?, Stephan von Krawczynski, (Mon Sep 14, 8:55 am)
Re: ipv4 regression in 2.6.31 ?, Eric Dumazet, (Mon Sep 14, 9:10 am)
Re: ipv4 regression in 2.6.31 ?, Stephen Hemminger, (Mon Sep 14, 9:31 am)
Re: ipv4 regression in 2.6.31 ?, Julian Anastasov, (Mon Sep 14, 5:01 pm)