ip: fix logic of reverse path filter sysctl
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 28 Jul 2009 01:39:45 +0000 (18:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jul 2009 01:39:45 +0000 (18:39 -0700)
commit27fed4175acf81ddd91d9a4ee2fd298981f60295
treebeefc6904a557d009da6f9b121693ad28ead7bfe
parent6d7760a88c25057c2c2243e5dfe2d731064bd31d
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>
include/linux/inetdevice.h