Re: ipv4 regression in 2.6.31 ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Hemminger
Date: Monday, September 14, 2009 - 9:31 am

On Mon, 14 Sep 2009 17:55:05 +0200
Stephan von Krawczynski <skraw@ithnet.com> wrote:


RP filter did not work correctly in 2.6.30. The code added to to the loose
mode caused a bug; the rp_filter value was being computed as:
  rp_filter = interface_value & all_value;
So in order to get reverse path filter both would have to be set.

In 2.6.31 this was change to:
   rp_filter = max(interface_value, all_value);

This was the intended behaviour, if user asks all interfaces to have rp
filtering turned on, then set /proc/sys/net/ipv4/conf/all/rp_filter = 1
or to turn on just one interface, set it for just that interface.

Sorry for any confusion this caused.



-- 
--
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)